HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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

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