ps command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

i am trying to find the solution for find users cpu and mem unable to find it.
as per the command it is unable to sort by cpu.

ps ww -e --sort -rss o user,pid,pmem,command,rss,size,vsz|head -20
this will sort by user it will show nobody user

ps ww -e --sort -rss o cpu,pid,pmem,command,rss,size,vsz|head -20
this will not sort by cpu.

If i know the user name for example abc.com is domain name using abc is username
if i would like to find only how much cpu and mem is used for abc how to find?
ps will not help


ps -u nobody
no use
i think following command will help i dont know how to use

top -hv | -bcisS -d delay -n iterations [-u nobody | -U nobody] -p pid [,pid]

Thank you,

Kaushal


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux