pstree
Package: WA2L/edrc 1.5.57
Section: General Commands (1)
Updated: 07 May 2010
Index
Return to Main Contents
 
NAME
pstree - print a process tree
 
SYNOPSIS
edrc/bin/pstree
[
-h
]
pstree
[
-p
|
-r
] [
pid
|
processname
]
 
AVAILABILITY
WA2L/edrc
 
DESCRIPTION
print a tree of processes and the dependent sub-processes.
Beside the process-ids, the process command is printed.
If no starting process-id
(pid)
is specified, the process tree is started beginning by
the root process-id, else the tree starts with the
specified
pid.
 
OPTIONS
- -h
 - 
usage message.
 - -p
 - 
print a list of the process-ids participating on the selected
process tree.
 - -r
 - 
print a list of the process-ids participating on the selected
process tree in reverse order.
This output can be used to kill processes of a process tree
from leaf-to-root.
 - pid 
 - 
process-id of the process from which the process tree
should start.
 - processname
 - 
processname from where to start the process tree.
The processname is the first process-id returned by the
pslist -c "processname"
command. Therefore the
processname
is a regular expression.
 
 
ENVIRONMENT
-
 
EXIT STATUS
- 0
 - 
no error. 
 - 1
 - 
error.
 - 2
 - 
operating system not supported. See
osid(3)
if you get this error.
 - 4
 - 
usage printed.
 - 5
 - 
the
pstree
command was aborted (pressing Ctrl+C).
 - 11
 - 
temporary directory could not be claimed in 
/tmp/,
check the system if this error occures, it is a 
sign of system intrusion.
 
 
FILES
-
 
EXAMPLES
-
 
SEE ALSO
edrcintro(1),
pid(1),
ps(1),
pscount(3),
pslist(3)
 
NOTES
-
 
BUGS
-
 
AUTHOR
pstree was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
 
COPYRIGHT
Copyright © 2010
Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 16:54:07 GMT, August 28, 2024