[linux-audio-dev] python: thread cpu usage

Lee Revell rlrevell at joe-job.com
Mon Apr 3 21:16:47 UTC 2006


On Mon, 2006-04-03 at 12:51 -0800, Patrick Stinson wrote:
> Does anyone know how to get the cpu usage of a specific thread from
> python? (I don't subscribe to python-list, too much traffic)
> 

$ man ps | grep -A4 thread | head -4
Reformatting ps(1), please wait...
To get info about threads:
   ps -eLf
   ps axms






More information about the Linux-audio-dev mailing list