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
Please Help me in my load average black-code UNIX for Dummies Questions & Answers 3 04-08-2009 12:20 AM
top - Load average govindts UNIX for Dummies Questions & Answers 8 09-24-2008 03:22 PM
Load Average Heathe_Kyle UNIX for Dummies Questions & Answers 3 10-24-2006 04:57 PM
load average gfhgfnhhn UNIX for Advanced & Expert Users 0 09-12-2006 12:49 PM
determining the load on a system 98_1LE UNIX for Dummies Questions & Answers 3 10-24-2001 11:26 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 4 Weeks Ago
proactiveaditya proactiveaditya is offline
Registered User
  
 

Join Date: Sep 2009
Location: Kolkata,India
Posts: 138
Determining load average over a period of time

How can i determine the load average of a centos server for the last 1 hour?
  #2 (permalink)  
Old 4 Weeks Ago
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,807
One way:

Use sadc to gather stats for the day/hour/whatever - then analyze with sar against the sadc file.
  #3 (permalink)  
Old 4 Weeks Ago
proactiveaditya proactiveaditya is offline
Registered User
  
 

Join Date: Sep 2009
Location: Kolkata,India
Posts: 138
I am not at all familiar with sadc or sar. Can you explain a bit on how to accomplish the job using sadc and sar?

Thanks in advance
  #4 (permalink)  
Old 4 Weeks Ago
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,807
sadc is a system data collector - sa1 is a shell script wrapper.
A crontab entry like this:

Code:
 0 * * * 0-6 /path/to/sa1
 20,40 8-17 * * 1-5 /path/to/sa1

collects data on the hour and then at 20 & 40 minutes after the hour during business hours 8:00am to 5:00pm

The sa1 output file is stored where your man page says it lives = the file name output by sa1 is usually
sa[nn]
where nn is the day of the month.

Some systems have other implementations of sadc - read your man page.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0