hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Hosting Security and Technology Tutorials : How-To install sar load average utility
Reply

Hosting Security and Technology Tutorials Tutorials related to server security or the like.
Forum Jump

How-To install sar load average utility

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-04-2004, 04:30 PM
HD-Sam HD-Sam is online now
Junior Guru
 
Join Date: Apr 2003
Location: Los Angeles, CA
Posts: 237

How-To install sar load average utility


This is a How-To for the installation of Sysstat Utilities which includes the "sar" command that is used to display your load average for the day.

The settings below are designed for recording load averages every 10 minutes. You can change the cron file to the settings you wish, but they are preset here for every 10 minutes.

This utility was installed on RHEL 3.0 Servers. I would assume it would work for most other RH servers as well (versions 7.3+)

As a text editor I used "vi" but you may use any text editor you wish.

Login to your server through SSH and login as root or su to the root user.

First just create a directory, or use one that you use to download temporary files.

1. cd /root/download

2. wget ftp.ibiblio.org/pub/linux/system/status/sysstat-5.0.2-1.i386.rpm

3. rpm -ivh sysstat-5.0.2-1.i386.rpm

4. cd /etc/cron.d

5. vi sysstat

6. Press the key "i" to insert text, and paste the Text below.

# run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib/sa/sa1 1 1
# generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib/sa/sa2 -A

7. Once you have done that, press Esc, then press the : key. (That means shift semi-colon/colon key). Then type in wq and press enter.

8. chmod 755 sysstat

And thats it, your done. Wait about an hour and it will start recording the load.

To look at your load averages. Type in: sar
Or "sar -q" produces a better layout. It will show the loads recorded every ten minutes since midnight the night before. And then it will show your day's average at the very bottom.

Use "sar -q" anywhere in the prompt to see your load average for the day.

The website for sysstat utilities and the creators of "sar" is: http://perso.wanadoo.fr/sebastien.godard/
That is where I obtained the download links. So if it changes, that URL would be the place to go.

Reply With Quote


Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
GoGrid Launches Dynamic Load Balancer Service Built for Cloud Web Hosting News 2013-01-29 10:07:53
CDNetworks Releases New Versions of Cloud Load Balancer, Cloud Storage Web Hosting News 2012-09-10 15:26:28
Green House Data Partners with Deerns to Design New Data Center Web Hosting News 2012-01-13 16:08:05
Web Host Rackspace Adds New Features to Cloud Load Balancer Web Hosting News 2011-09-16 16:35:04
Cloud Infrastructure Firm Linode Launches Load Balancer as a Service Web Hosting News 2011-07-15 19:05:12


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 On
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?