Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2003
    Location
    Los Angeles, CA
    Posts
    244

    Load Average Tool "sar" - where did it go in RHEL?

    I have a few RH 7.3 servers left, and all have are able to use the nice command "sar".

    I always type "sar -q" on the rh7.3 machines to see my load average for the day.

    It records the load every ten minutes, and then averages it out giving you the load average since 12:01am of that day.

    Anyone know how this can be reinstalled on RHEL. I loved this command and would like to know how to get it on my rhel machines.

    thanks

  2. #2
    Join Date
    Apr 2003
    Location
    Los Angeles, CA
    Posts
    244

    Load Average tool for RHEL

    I answered the question myself by doing more research.

    If anyone else is interested, Here is how I installed it on all of my RHEL Servers.


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

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


    Then: cd /etc/cron.d
    You can use pico or VI here, I prefer vi but you create a file called "sysstat"

    vi sysstat
    Insert the following in the file:
    # 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

    Save the file and quit vi or pico.

    Then,
    chmod 755 sysstat

    And thats it, your done. Wait about an hour and you then if you run "sar" or "sar -q" you should start seeing some load averages.

    Use "sar -q" anywhere in the command prompt to start seeing your load averages.

    Hope this helps someone out.

    The website for Sysstat utilities and the creators of "sar" is: http://perso.wanadoo.fr/sebastien.go...wnload_en.html
    Last edited by HD-Sam; 04-04-2004 at 04:15 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •