ps command

Kaushal Shriyan kaushalshriyan at gmail.com
Wed Aug 23 15:26:50 UTC 2006


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




More information about the fedora-list mailing list