Query: ptree
OS: hpux
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ptree(1) General Commands Manual ptree(1)NAMEptree - prints the process tree hierarchySYNOPSIS[pid1|username1 [pid2|username2]...]DESCRIPTIONprints 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 INFLUENCESEnvironment Variables If is not specified or is null, it defaults to (see lang(5)).EXAMPLESPrint the process tree for pid 100 and for all processes owned byWARNINGSProcess 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 ALSOpgrep(1), pkill(1), ps(1), fork(2). ptree(1)
Related Man Pages |
---|
ptree(1) - bsd |
ptree(1) - v7 |
ptree(1) - osx |
ptree(1) - xfree86 |
ptree(1) - centos |