about summary refs log tree commit diff
path: root/px.1
blob: d446cd072d8d4caf3bf8066cda63ec5131ff18fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.Dd May 08, 2023
.Dt PX 1
.Os
.Sh NAME
.Nm px
.Nd report details on matching processes
.Sh SYNOPSIS
.Nm
.Op Fl f
.Ar PATTERNS ...
.Sh DESCRIPTION
.Nm
searches the process list for processes matching any of the patterns
.Ar PATTERNS
and prints details on them,
namely PID, user, cpu usage, virtual and real memory usage,
start time, run time and cpu time, as well as the full command line.
.Pp
As
.Ar PATTERNS
may be used:
substrings of the process name or numeric PIDs.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl f
Search the whole command line, including arguments.
.El
.Sh EXIT STATUS
The
.Nm
utility returns 0 when a process was found,
1 if no process was found,
and 2 when other errors occured.
.Sh SEE ALSO
.Xr ps 1 ,
.Xr pgrep 2
.Sh AUTHORS
.An Leah Neukirchen Aq Mt leah@vuxu.org
.Sh LICENSE
.Nm
is in the public domain.
.Pp
To the extent possible under law,
the creator of this work
has waived all copyright and related or
neighboring rights to this work.
.Pp
.Lk http://creativecommons.org/publicdomain/zero/1.0/