LinuxQuestions.org
Help answer threads with 0 replies.
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-31-2007, 04:49 AM   #1
edgjerp
Member
 
Registered: Dec 2004
Location: Trondheim, Norway
Distribution: kubuntu 10.04
Posts: 308

Rep: Reputation: 31
source of high cpu usage


a few minutes ago my system was very slow, because the cpu was very busy, but I could not figure out with what.

'top' had a cpu usage line looked someting like this: (reconstructed)
Code:
Cpu(s):  3.4% us,  10.7% sy,  1.0% ni, 2.2% id,  0.0% wa,  10.3% hi,  72.7% si
here the last field, "si" was fluctuating between 40% and 90%, almost nothing in idle or user, making it hard to find what was so complicated to process.

edit: clarify problem.
What do the different fields mean: my guess is 'us'=userspace(or something similar, running programs) 'sy'=system(kernel level), 'id'=idle.
the others I do not know. what are they, is it possible to trace where cpu power allocated to them is going, and maybe reduce them, if too much is going there, bogging down the system.

Last edited by edgjerp; 01-31-2007 at 07:22 AM.
 
Old 01-31-2007, 09:57 PM   #2
nilleso
Member
 
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372

Rep: Reputation: 31
'si' is software interrupts.
Quote:
man top
for more details on the fields.
 
Old 01-31-2007, 10:31 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
While you're reading the man page...

Have a look at the -b and -n options. You can have top run once and dump its output to a file so you can check the data afterwards and post it here (if necessary).
Code:
top -b -n 1 > /tmp/top.log
 
Old 01-31-2007, 10:38 PM   #4
benrose111488
Member
 
Registered: Jun 2004
Location: Wantage, NJ
Distribution: Fedora 7
Posts: 177

Rep: Reputation: 30
If you have X running with Gnome or KDE (Gnome is better ), just load up gnome-system-monitor. That'll tell ya pretty much all you need to know...
 
Old 02-02-2007, 03:37 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
You'll be guessing, but it's likely the highest CPU consumer is generating all those interrupts.
Sounds like something gone feral.
 
  


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
High Cpu usage untak Debian 21 01-23-2007 06:21 AM
why high load, but no cpu usage? JustinHoMi Linux - General 6 01-11-2006 10:43 AM
cpu usage high corbintechboy VectorLinux 2 07-27-2005 08:11 AM
Rhythmbox high cpu usage Pipedream Linux - Software 0 11-07-2004 03:17 PM
locking at high CPU usage charon Linux - Newbie 4 03-10-2004 02:21 AM

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

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

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