The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Able to ping server's private network *Jess* IP Networking 3 01-10-2008 05:45 PM
How to use another server's CD FredSmith UNIX for Dummies Questions & Answers 2 11-14-2006 09:28 AM
Linux server's !_30 Linux 1 09-20-2006 12:12 PM
Newbie learn more UNIX sabercats Shell Programming and Scripting 1 03-24-2006 11:51 AM
resource worries soliberus SUN Solaris 2 04-14-2005 03:56 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-19-2008
Registered User
 

Join Date: May 2008
Posts: 2
newbie: way to learn more about server's resource usage

I have a dedicated server running centos. It is "slightly managed" meaning I get a little help if I desperately need it; otherwise on my own.

Many of the programs on this server I've had to write myself (less than optimal code for sure). Others are commercial but some are renowned
resource hogs. I find lately that the load is well above 1.0 even during slow times, and I'd really like to find a way to start looking at server usage and hacking away at egregious wastes of resources. Obviously my trouble areas are apache and mysql.

Unfortunately the older I get the less technically adept I get at working from the command line without pretty graphs etc and seem to be figuring out next to nothing from things like ps -aux. If someone could recommend something simple I could start with to get a better picture of my server's usage, I would appreciate it. I'm sure all this has a technical name I could google further on but not sure what that would be.

Thanks!
Reply With Quote
Forum Sponsor
  #2  
Old 05-19-2008
Wolja's Avatar
Registered User
 

Join Date: Feb 2002
Posts: 15
Quote:
Originally Posted by blakekr View Post
I have a dedicated server running centos. It is "slightly managed" meaning I get a little help if I desperately need it; otherwise on my own.

Many of the programs on this server I've had to write myself (less than optimal code for sure). Others are commercial but some are renowned
resource hogs. I find lately that the load is well above 1.0 even during slow times, and I'd really like to find a way to start looking at server usage and hacking away at egregious wastes of resources. Obviously my trouble areas are apache and mysql.

Unfortunately the older I get the less technically adept I get at working from the command line without pretty graphs etc and seem to be figuring out next to nothing from things like ps -aux. If someone could recommend something simple I could start with to get a better picture of my server's usage, I would appreciate it. I'm sure all this has a technical name I could google further on but not sure what that would be.

Thanks!
I use a combination of top , ptree and sar to look at CPU hogs.

Top provides the pids of CPU intensive processes which works well with ptree to work out what they are doing.

Sar, google for ksar as a nice graphing tool, identifies times fo day to go investigate.
Reply With Quote
  #3  
Old 05-19-2008
Registered User
 

Join Date: May 2008
Posts: 2
Thanks so much, this is exactly the sort of direction I was hoping for. Greatly appreciate it!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0