How to generate sar report for past months
Hello,
I have a Sun Solaris 10.5 system and I want to generate a detailed report on this server's performance in past few months (at least one or two months). I think sar command can be helpful here, but I don't know how to use sar to generate report for whole months or some defined period of a month? Please suggest. Thanks. |
Quote:
http://www.unix.com/unix-advanced-ex...n-solaris.html http://www.ibm.com/developerworks/ai...erfmonsar.html ...among others. If you don't have sar configured to collect data, you can't report on it, so if it hasn't already BEEN running for a few months, you can't report on that time. |
|
@TB0ne: I had gone through man pages as well as googled it, but found that sar collects data of live time, not past time.
Well, sar is apparently there, but it's not collecting any data, I mean it's nowhere scheduled in cron and also I did not find any existing collection of data. So I want suggestions that, are there any other option/alternatives or anything helpful to analysis this server's performance in past few months, at least for CPU utilization and disk I/O? |
As already stated, you need to have data collection enabled first.
Code:
man -S 1m sar |
Ok, I have enabled data collection be enabling sa1 and sa2 scripts for sys account, so at least I will get it's data for now onwards.
Is any other helpful tool/utility to check performance in pervious days? |
Quote:
SAR does one thing: it snapshots what's going on with the system when it runs. Think of it as a movie camera...each frame is a still picture...put them one after the other, and you have a movie. SAR collects data points when it runs....enough data points, and you get an idea of what your system has done. Quote:
|
Quote:
|
Thanks everyone for your responsese. I managed the data collection of pervious months using HP OVPM.
|
All times are GMT -5. The time now is 03:37 AM. |