mirror of https://github.com/CrimsonTome/tldr.git
ps: get the parent pid (#1896)
commit
145e0560a5
|
@ -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}}`
|
||||
|
|
Loading…
Reference in New Issue