Getting a per thread cpu stats

Posted by viraptor on Server Fault See other posts from Server Fault or by viraptor
Published on 2009-07-09T10:50:12Z Indexed on 2010/04/12 18:53 UTC
Read the original article Hit count: 331

Filed under:
|
|

I'm interested in the current usage of cpu - precisely cpu% and wait% - for each thread in a specific application. Is it possible to get that information from somewhere?

I know that top can split information per real thread (ones with pid), but it doesn't show the system/user/wait cpu usage split for each of them. I would also like some way to log that info. Do you know any apps (or apis) that can do that?

© Server Fault or respective owner

Related posts about linux

Related posts about statistics