ptree man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

ptree(1)							      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 argu‐
       ments.  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 pro‐
       cesses 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)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net