LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-11-2009, 08:15 AM   #1
connecticket
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
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
 
Old 06-12-2009, 12:46 AM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
What is 14 * 4? Does that come near?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding the top CPU-using processes? "top" command does not help... catalytical Linux - Server 1 04-06-2009 04:50 PM
Help me understand my top output neocontrol Linux - Server 5 02-21-2008 05:46 PM
understand -w option with grep geeyathink Programming 5 02-21-2008 04:17 AM
Gnome-2.16.0 Windows on top option grayed out securitybreach Fedora 1 01-26-2007 01:34 PM
Dont understand the df command juanb Linux - General 2 01-02-2003 03:22 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration