LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 05-12-2011, 04:12 AM   #1
Langton
LQ Newbie
 
Registered: May 2011
Posts: 16

Rep: Reputation: 0
Server load


How do I check a process which is over loading the server. I give command Top andthe average load of the server is so high.

How should I kill the over loading process.

Thank you
 
Old 05-12-2011, 04:16 AM   #2
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Rep: Reputation: 27
top shows you the Process ID(PID) of the process you are looking for

use the following command to kill it:
Code:
kill -9 PID
Be sure to check if you need the process before killing it, sometimes processes eat up CPU cycles due to errors, in such cases you should look at the logs for information on the causes for the errors.

Last edited by austinium; 05-12-2011 at 04:17 AM. Reason: added details
 
Old 05-12-2011, 05:03 AM   #3
Langton
LQ Newbie
 
Registered: May 2011
Posts: 16

Original Poster
Rep: Reputation: 0
Server load

I need to investigate what is consuming so much load on the server. Assis me with commands and ways to carry out this investigation.

Thanks
 
Old 05-12-2011, 05:27 AM   #4
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Rep: Reputation: 27
Have a look here for information on the top command.
 
Old 05-12-2011, 05:37 AM   #5
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 32
also 'ps' will be quite helpful - if you need further details about the process you can also have a look at /proc/<pid>/ which contains various files and symlinks which can provide details.

Last edited by Nathanael; 05-12-2011 at 05:39 AM.
 
Old 05-13-2011, 11:45 PM   #6
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Quote:
Q: How do I check a process which is over loading the server. I give command Top andthe average load of the server is so high?
"top" itself will give you a good idea which processes are consuming the most CPU or memory - i.e. which processes might be suspect in your performance issue.

Quote:
Q: How should I kill the over loading process?
You *shouldn't*.
At best, killing a process is a "band aid". At worst, you could cause a system outage. Not good.

Quote:
I need to investigate what is consuming so much load on the server. Assis me with commands and ways to carry out this investigation.
Absolutely correct. Good tools include "sar", "top" and "uptime".

This white paper has much good information: please download it and take a look at it:

Linux Performance and Tuning Guidelines
 
  


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
Server Load wackolacko Linux - Server 10 02-08-2009 03:14 PM
regarding server load gimmereeson Linux - Networking 1 01-29-2007 11:52 AM
x server will not load StealthZyxel Linux - Laptop and Netbook 11 08-01-2006 03:18 PM
Websites load slow, but once they load, any links inside them load fast smurcoch Mandriva 3 02-06-2006 01:47 AM
Cant load X Server NewToLinuxOS SUSE / openSUSE 1 03-15-2005 12:37 AM


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