mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 02:15:30 +02:00
pstree: add useful arguments (#16691)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
This commit is contained in:
parent
064f987400
commit
b7ec4ef6b6
1 changed files with 13 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
> A convenient tool to show running processes as a tree.
|
||||
> More information: <https://manned.org/pstree>.
|
||||
|
||||
- Display a tree of processes:
|
||||
- Display a tree of all processes (rooted at init):
|
||||
|
||||
`pstree`
|
||||
|
||||
|
@ -14,3 +14,15 @@
|
|||
- Display all process trees rooted at processes owned by specified user:
|
||||
|
||||
`pstree {{user}}`
|
||||
|
||||
- Display command line arguments:
|
||||
|
||||
`pstree {{[-a|--arguments]}}`
|
||||
|
||||
- Display children of a specified process:
|
||||
|
||||
`pstree {{pid}}`
|
||||
|
||||
- Display parents of a specified process:
|
||||
|
||||
`pstree {{[-s|--show-parents]}} {{pid}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue