ps: get the parent pid (#1896)

coverage
Starbeamrainbowlabs 2018-01-16 10:04:39 +00:00 committed by GitHub
commit 145e0560a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

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}}`