Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-02 00:21:21 +00:00
parent 856ab03c8f
commit dfdf48edee
13 changed files with 51 additions and 20 deletions

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> 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`
@@ -19,3 +19,15 @@ source: https://github.com/tldr-pages/tldr.git
- 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}}`