ps: added sort example (#4216)
This commit is contained in:
@@ -25,3 +25,7 @@
|
|||||||
- Get the parent pid of a process:
|
- Get the parent pid of a process:
|
||||||
|
|
||||||
`ps -o ppid= -p {{pid}}`
|
`ps -o ppid= -p {{pid}}`
|
||||||
|
|
||||||
|
- Sort processes by memory consumption:
|
||||||
|
|
||||||
|
`ps --sort size`
|
||||||
|
Reference in New Issue
Block a user