|
|
Question : Configuring sar on solaris 7
|
|
How do I configure the sar utility on solaris 7 O/S?
|
Answer : Configuring sar on solaris 7
|
|
If you have edited it by hand, cron is not aware of the changes made. Ensdure your $EDITOR is set to vi and simply call crontab -e sys and save the changes (wq!) to make the changes take effect.
Alternatively stop and start the cron process using 'sh /etc/rc2.d/S75cron stop; sh /etc/rc2.d/S75cron start'
You should then see calls to run the cron tasks every 20 minutes in the cron log file /var/cron/log, and a file of cron data being appended to in /var/adm/sa/sarNN where NN is todays date. Every day the summary file will be created namd /var/adm/sa/saNN.
Calling sar should now list the performance snapshots every 20 minutes. You can specify start and end times as well as the sar file to read from - see the sar manpage.
|
|
|
|