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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sar Related Question!!!!!!!!!!!!!!1

Status
Not open for further replies.

vinky

Programmer
Jun 3, 2003
13
US
Hello friends

I want that sar should automatically stores the disk and CPU status in a file so that i can view my system status even a 10 days back.I had created a file in crontab directory in which i schduled job to be done but it is not creating file in /var/adm/sa directory. I logged in as a root

One more thing that i am not able to start perfview in my comp. I want to check first whether it is installed properly or not? How to check that and if it is not installed properly then what to do?

Thanks in advance

Regards
 
Hi

Did you check the sar command before putting it into crontab.

Is it of the form

sar -type of data filename Sampleinterval iterations

i.e sar -o tempfile 5 3

If this is OK, did you use an absolute path for the filename.

If it is working from the command line, are errors being written to /var/cron/log

To check if perfview installed,
#swlist | grep Perf

If you are doing all this to highlight a performance issue, why not install the 60-day trial version of Measureware.

Post your crontab entry if unsure

Kind Regards
 
Thanks,

My sar related problem is sorted but perfiew is not installed properly i think.

Regards

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top