1753287 Members
5795 Online
108792 Solutions
New Discussion юеВ

top command

 
madhuchakkaravarthy
Trusted Contributor

top command

hi


i need to have the process running for more time in top command since priority is given for %WCPU
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
3 ? 1503 cimsrvr 152 20 66212K 19096K run 1:41 0.62 0.62 cimservermain
0 ? 67 root 152 20 1512K 1344K run 4:09 0.33 0.33 vxfsd
2 ? 1951 root 168 20 11772K 1064K sleep 8:22 0.25 0.25 utild
3 REPLIES 3
Michal Kapalka (mikap)
Honored Contributor

Re: top command

hi,

i always use glance or gpm instead of top.

mikap
madhuchakkaravarthy
Trusted Contributor

Re: top command

hi

when i was about to use top,, i got a doubt and i tried my best ,, is it possiable to show the process based on time in first row of the top output,.


regards

MC
Dennis Handly
Acclaimed Contributor

Re: top command

>is it possible to show the process based on time in first row of the top output?

You want to sort by the TIME column?
You could try:
top -f top.out -n 500
sort -n -k10,10 top.out