1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 10:15:24 +02:00

ps: get the parent pid (#1896)

This commit is contained in:
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

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