mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 06:15:22 +02:00
ps: added sort example (#4216)
This commit is contained in:
parent
1d463f27dd
commit
8f694a13ea
1 changed files with 4 additions and 0 deletions
|
@ -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`
|
||||||
|
|
Loading…
Add table
Reference in a new issue