Re: getting cpu usage on commandline

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

 



Den Tuesday 10 March 2009 23.48.22 skrev Atte André Jensen:
> Julien Claassen wrote:
> > Hello atte!
> >   Two things I can think of: Have you tried the normal top? - I don't
> > know about its accuracy.
>
> I played around a bit more, and it seems I misjudged "ps aux", since it
> seems to report correct values. Will takt that route and get back in
> case of further trouble.

The -o option for ps is very usable.

I have two alias that I use frequent.

ps -eo pid,pcpu,comm|egrep -v 0.0|sort -r -k2
ps -eo pid,rss,size,pmem,comm|egrep -v "0.0"|sort -r -k4|head

See "man ps" for more options of -o.

regards,


/bengan
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux