unix - What does this ps command do on Linux? -
i try output of top 5 processes in linux system. i'm expecting percentage of processor (cpu) used i'm little worried if command i'm using gets cpu or ram; output?
ps -a --sort -rss -o comm,pmem | head -n 6 the man documentation of ps indicates output process, i'm suspecting ram memory. clarify output me, please?
it's process sorting rss resident set size - memory usage - , showing command , percentage memory usage. header line , top 5 processes.
for explanation of rss is, see answer on unix: https://unix.stackexchange.com/questions/35129/need-explanation-on-resident-set-size-virtual-size
to top 5 cpu load asked:
ps -a --sort -pcpu -o comm,pmem,pcpu | head -n 6
Comments
Post a Comment