Re: getting cpu usage on commandline

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

 



On Tue, Mar 10, 2009 at 11:51 AM, Atte André Jensen
<atte.jensen@xxxxxxxxx> wrote:
> I'm doing some benchmarking and would like to know the cpu usage of
> certain realtime processes. ATM I use htop, but I'd like to make an
> automatic test script, and it seems htop cannot be made to output to
> stdout and exit. Also "ps aux" seems to be reports wrong cpu usages for
> realtime processes.
>
> Which command can I call (from a bash script) to get the actual cpu
> usage of a realtime process?
NMon from IBM and it's free (as a beer).It's originally written for
AIX but it is still one of the best tools I've ever seen. It can also
collect data in the background as a detached job and they also have a
nice "analyzer spreadsheet" if you want pretty graphics (I haven't
tested that on OpenOffice but might work). I mainly use that at work
for performance and machine analysis.

-- 
Hakan (m1fcj) - http://www.hititgunesi.org
_______________________________________________
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