Options (3)
-p, --show-pidsbooleanDisplay a tree of processes with PIDs
Example:
pstree {{[-p|--show-pids]}}-a, --argumentsbooleanDisplay command line arguments
Example:
pstree {{[-a|--arguments]}}-s, --show-parentsbooleanDisplay parents of a specified process
Example:
pstree {{[-s|--show-parents]}} {{pid}}Examples (6)
Display a tree of all processes (rooted at init)
Display a tree of processes with PIDs
pstree [-p|--show-pids]Display all process trees rooted at processes owned by specified user
pstree userDisplay command line arguments
pstree [-a|--arguments]Display children of a specified process
pstree pidDisplay parents of a specified process
pstree [-s|--show-parents] pidmade by @shridhargupta | data from tldr-pages