Penguin
Annotated edit history of pstree(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 PSTREE
2 !!!PSTREE
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 FILES
8 AUTHOR
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 pstree - display a tree of processes
15 !!SYNOPSIS
16
17
18 __pstree__ [[__-a__] [[__-c__]
19 [[__-h__|__-H__''pid''__]__ [[__-l__]
20 [[__-n__] [[__-p__] [[__-u__] [[__-G__|__-U__]
21 [[''pid''|''user''__]
22 pstree__ -V
23 !!DESCRIPTION
24
25
26 __pstree__ shows running processes as a tree. The tree is
27 rooted at either ''pid'' or __init__ if ''pid'' is
28 omitted. If a user name is specified, all process trees
29 rooted at processes owned by that user are
30 shown.
31
32
33 __pstree__ visually merges identical branches by putting
34 them in square brackets and prefixing them with the
35 repetition count, e.g.
36
37
38 init-+-getty
39 |-getty
40 |-getty
41 `-getty
42 becomes
43
44
45 init---4*[[getty]
46 !!OPTIONS
47
48
49 __-a__
50
51
52 Show command line arguments. If the command line of a
53 process is swapped out, that process is shown in
54 parentheses. __-a__ implicitly disables
55 compaction.
56
57
58 __-c__
59
60
61 Disable compaction of identical subtrees. By default,
62 subtrees are compacted whenever possible.
63
64
65 __-G__
66
67
68 Use VT100 line drawing characters.
69
70
71 __-h__
72
73
74 Highlight the current process and its ancestors. This is a
75 no-op if the terminal doesn't support highlighting or if
76 neither the current process nor any of its ancestors are in
77 the subtree being shown.
78
79
80 __-H__
81
82
83 Like __-h__, but highlight the specified process instead.
84 Unlike with __-h__, __pstree__ fails when using
85 __-H__ if highlighting is not available.
86
87
88 __-l__
89
90
91 Display long lines. By default, lines are truncated to the
92 display width or 132 if output is sent to a non-tty or if
93 the display width is unknown.
94
95
96 __-n__
97
98
99 Sort processes with the same ancestor by PID instead of by
100 name. (Numeric sort.)
101
102
103 __-p__
104
105
106 Show PIDs. PIDs are shown as decimal numbers in parentheses
107 after each process name. __-p__ implicitly disables
108 compaction.
109
110
111 __-u__
112
113
114 Show uid transitions. Whenever the uid of a process differs
115 from the uid of its parent, the new uid is shown in
116 parentheses after the process name.
117
118
119 __-U__
120
121
122 Use UTF-8 (Unicode) line drawing characters. Under Linux
123 1.1-54 and above, UTF-8 mode is entered on the console with
124 __echo -e '033%8'__ and left with __echo -e
125 '033%@'__
126
127
128 __-V__
129
130
131 Display version information.
132 !!FILES
133
134
135 /proc location of the proc file system
136 !!AUTHOR
137
138
139 Werner Almesberger
140 !!SEE ALSO
141
142
143 ps(1), top(1)
144 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.