Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sar performance reporting

Status
Not open for further replies.

dkuhlio

Technical User
Sep 10, 2001
9
0
0
US
Hello
I am collecting sar data at 10 minute intervals.
I need to obtain hourly averages.

Does anyone know of a way to do this?
Is there a flag with in sar that allows you to average data over a period of time.

Thanks
 
Using keyword search by keyword "sar", search the thread 47981, the title is "sar". You can get what you want.

And Make a reference "sar command" by man page or anything you can use..
 
Thanks,
I did look at this thread. Unfortunately it does not answer my question. I am wondering if anyone might know of a feature within sar that can allow you to calculate averages. Giving you the ability to specify your own time intervals from the data that you have already collected.

Obviously the best thing to do is to set your collection interval (sa1) to 1 hour. However, I am tasked with using historical data. You know management....
 
sar 60 10

This will run a sar at 60 second intervals 10 times ( 10 mins) and then gives an average, of course you can write to a file and select other options.

But to run for 60 mins, adjust the frequency: -
sar 60 60 (run 60 times every 60 seconds)
or
sar 1800 2 (run 30 mins x 2)


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top