LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-07-2015, 06:02 PM   #1
Leo Simon
LQ Newbie
 
Registered: Aug 2004
Posts: 22

Rep: Reputation: 0
Interpreting htop processor status bars


I've just installed htop on a Dell Latitude E6530. I'm puzzled by a number of questions relating to the processor status bars. Unfortunately the man page doesn't really address my questions.

As far as I knew I had 4 cores, but there are 8 processor bars The help menu says that the left bars are for CPU 1/2, the right bars for CPU 2/2. Does this mean that there are 4 cores per CPU?

My other question is, how can I associate jobs with processor bars? Currently I'm running one big matlab job, using 100% of 1 core. But the core keeps jumping around, 1 of the processor bars is always showing 100% but every few seconds the full processer switches among the 8, i.e., any one of the bars could be the full one at any minute. Is this to be expected?

Thanks very much for any advice.
 
Old 01-07-2015, 06:23 PM   #2
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Rep: Reputation: 142Reputation: 142
Probably your CPU is quad core Core i5/i7 with Hyper-Threading Technology. HTT allows to execute two threads of commands for every core simultaniously, so for OS it is like 8 cores.
And CPU switches periodically current task to another core, so you can see it in htop output.

Take a look at cat /proc/cpuinfo output
 
  


Reply



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
Installing HTOP. adumith Linux - Newbie 3 06-19-2013 02:58 PM
htop output leeyaa Linux - Newbie 6 11-02-2012 07:12 AM
[SOLVED] HTOP and PID's helptonewbie Linux - Newbie 7 12-30-2010 01:42 AM
Get system current status to C program from "htop" chamila1986 Programming 1 01-17-2010 09:00 AM
dmidecode processor status Populated, Idle ??? jantman Linux - Hardware 0 11-13-2008 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:24 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration