-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpslist.1
More file actions
30 lines (30 loc) · 915 Bytes
/
pslist.1
File metadata and controls
30 lines (30 loc) · 915 Bytes
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
.TH pslist 1
'''
.SH NAME
\fBpslist\fR \- list processes in the system
'''
.SH SYNOPSIS
\fBpslist\fR [\fIpattern\fR]
'''
.SH DESCRIPTION
This command dumps complete command lines for processes in the system,
either all or only those matching \fIpattern\fR.
.P
In Linux, each process has a name, /proc/$PID/comm, and the command line
also known as argv[], /proc/$PID/cmdline. \fBpstree\fR(1) provides a concise
view of the process tree but only shows the comm entry. This tool lets the
user to inspect cmdline entry, which may be rather long but ocassionally
provides clues as to what's going on in the system.
'''
.SH OPTIONS
.IP "\fB-r\fR" 4
Only list processes in Running state.
.IP "\fB-c\fR" 4
Only match \fIpattern\fR against argv[0], not the whole argv[] array.
'''
.SH NOTES
Kernel threads are never listed by this tool since they lack meaningful
command line.
'''
.SH SEE ALSO
\fBps\fR(1), \fBpstree\fR(1).