Unix and Linux Discussions Tagged with tree |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
4,247 |
Shell Programming and Scripting |
|
|
|
0 |
3,430 |
Shell Programming and Scripting |
|
|
|
1 |
19,698 |
Solaris |
|
|
|
1 |
8,985 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,149 |
Software Releases - RSS News |
|
|
|
0 |
1,047 |
Software Releases - RSS News |
|
|
|
0 |
1,077 |
Software Releases - RSS News |
|
|
|
0 |
818 |
Software Releases - RSS News |
|
|
|
0 |
1,999 |
Software Releases - RSS News |
|
|
|
0 |
1,447 |
Software Releases - RSS News |
|
|
|
0 |
889 |
Software Releases - RSS News |
|
|
|
0 |
1,011 |
Software Releases - RSS News |
|
|
|
0 |
779 |
Software Releases - RSS News |
|
|
|
0 |
1,198 |
Software Releases - RSS News |
|
|
|
0 |
1,080 |
Software Releases - RSS News |
|
|
|
0 |
993 |
Software Releases - RSS News |
|
|
|
0 |
801 |
Software Releases - RSS News |
|
|
|
0 |
1,152 |
UNIX and Linux RSS News |
|
|
|
0 |
984 |
Software Releases - RSS News |
|
|
|
0 |
963 |
Software Releases - RSS News |
|
|
|
2 |
2,515 |
Solaris |
|
|
|
0 |
674 |
Software Releases - RSS News |
|
|
|
2 |
5,045 |
Shell Programming and Scripting |
|
|
|
0 |
885 |
Software Releases - RSS News |
|
|
|
2 |
6,342 |
Programming |
|
|
|
0 |
1,402 |
Software Releases - RSS News |
|
|
|
2 |
3,229 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,427 |
Software Releases - RSS News |
|
|
|
0 |
1,266 |
Software Releases - RSS News |
|
|
|
3 |
16,364 |
Shell Programming and Scripting |
|
|
|
1 |
12,121 |
Filesystems, Disks and Memory |
|
|
|
2 |
8,569 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,743 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
9,702 |
Programming |
|
|
|
11 |
5,111 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
6,943 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
3,704 |
IP Networking |
|
|
|
4 |
6,041 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,707 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,256 |
UNIX for Dummies Questions & Answers |
ptree(1) General Commands Manual ptree(1)
NAME
ptree - prints the process tree hierarchy
SYNOPSIS
[pid1|username1 [pid2|username2]...]
DESCRIPTION
prints the process tree of all processes that match the specified arguments. While printing the tree, the child processes are indented to
the right from their respective parent processes.
Options
Prints the tree starting from the children of
(usually pid 0). The default is to print the tree starting from the children of (pid 1).
Operands
pid Print the process tree for the process ID number specified by pid.
username Print the process tree for all the processes from the user specified by username. Note that only username (and not user ID) can
be specified for this instance.
If no operands are specified, then prints the process tree of all processes starting from the children of or (if is specified).
EXTERNAL INFLUENCES
Environment Variables
If is not specified or is null, it defaults to (see lang(5)).
EXAMPLES
Print the process tree for pid 100 and for all processes owned by
WARNINGS
Process information can change while is running; the tree displayed by is only a snapshot in time. Some data printed for defunct processes
is irrelevant.
Users of must not rely on the exact field widths and spacing of its output, as these will vary depending on the system and the release of
HP-UX.
SEE ALSO
pgrep(1), pkill(1), ps(1), fork(2).
ptree(1)