ps: get the parent pid

This commit is contained in:
zlbabe
2018-01-15 22:36:37 +01:00
parent a31103536e
commit 602e8187a4

View File

@@ -21,3 +21,7 @@
- List all processes of the current user as a tree:
`ps --user $(id -u) f`
- Get the parent pid of a process
`ps -o ppid= -p {{pid}}`