LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-02-2006, 02:22 AM   #1
imi@tux
LQ Newbie
 
Registered: Oct 2004
Location: Wasa, Finland
Distribution: debian
Posts: 23

Rep: Reputation: 15
My load on computer is too high


Hi,

I'm using debian on my linuxcomputer. By executing 'w' I see that my load is too high. My question is: how can I check which process is causing this high load? 'Ps aux' doesn't help me much, not 'netstat -a' either.
 
Old 03-02-2006, 02:40 AM   #2
corbintechboy
Member
 
Registered: Sep 2003
Location: Kentucky
Posts: 480
Blog Entries: 1

Rep: Reputation: 51
Could try top?
 
Old 03-02-2006, 03:20 AM   #3
imi@tux
LQ Newbie
 
Registered: Oct 2004
Location: Wasa, Finland
Distribution: debian
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by anti_microsoft
Could try top?
Hmm, I wonder how the load is counted? I have followed 'top' for a while. The load is often around 0,50. But I can't see any process that should cause this. Sometimes I can see that for instance apache or spamassassin cause high CPU-% but that's only for a second. Everything else seem to be quiet, except for mysql with a mem-% of 3,6.
 
Old 03-02-2006, 04:48 AM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 164Reputation: 164
Top is a useful tool for checking loads. But unless you've got processes you can't identify, if you're getting a load of 0.50 don't worry about it, that's a very low load.

The load average is calculated as a function of processes waiting for the CPU. I've seen sendmail stop sending mail when it gets to around 12.0 (iirc) but when the load reduced it started sending again. I have no idea how high a load can go before the whole system grinds to a halt though...
 
Old 03-03-2006, 12:15 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
If you really want to know, read these:
http://www.luv.asn.au/overheads/NJG_...luvSlides.html
http://www.teamquest.com/resources/gunther/ldavg1.shtml
http://www.teamquest.com/resources/gunther/ldavg2.shtml
 
Old 03-03-2006, 08:15 AM   #6
t4tajinder
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Rep: Reputation: 0
Ya right , load average of around 0.50 should not be very high .We can check it with the 'top' command .But u need to identify the processes with the high CPU usage . Get their PIDS and run the command 'cat /proc/pid-number/cmdline' and you will see the name of the process that is consuming high CPU usage ...
 
Old 03-03-2006, 08:29 AM   #7
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Rep: Reputation: 30
How about system monitor in GNOME, will that not tell you the same thing; also allows you to kill apps that are hanging??? Just asking because I use that with "top".

regards,
smiley
 
Old 03-04-2006, 05:48 AM   #8
t4tajinder
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Rep: Reputation: 0
Not sure about the GNOME system monitor ..Because i work on servers and always use CLI .In fact all the servers run in run level 3.
 
  


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
Too high load, how to tweak? newlinuxnewbie Linux - General 13 10-31-2009 01:57 PM
Load Avg High/Phys Mem High teamh Debian 2 12-26-2006 06:03 PM
Why am I getting ?high? CPU load? pnh73 Linux - General 15 10-21-2003 11:36 AM
high mysql load hardigunawan Linux - General 0 03-04-2003 02:43 AM
Unusually high load subhasis_ray Linux - General 5 09-17-2002 10:28 AM


All times are GMT -5. The time now is 08:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration