getting cpu usage on commandline

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

 



Hi

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?

-- 
Atte

http://atte.dk    http://modlys.dk
_______________________________________________
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