LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trying to understand top command -H option (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-understand-top-command-h-option-732203/)

connecticket 06-11-2009 08:15 AM

trying to understand top command -H option
 
Hi,

I am running the top command to monitor the CPU utilization of a multi-threaded process. When I run the command with just the pid it gives me utilization of about 60-70%. However when I run top with the -H option, the cumulative CPU utilization of all the threads does not come anywhere close to 60-70% (it's around 14%). I am using a 4 core processor. Is there something that I'm missing here? Any tips on how to correctly interpret the information given by the -H option?

thanks,
-connecticket

jamescondron 06-12-2009 12:46 AM

What is 14 * 4? Does that come near?


All times are GMT -5. The time now is 11:11 PM.