SUMMARY: system activity report

From: <kabinet_at_inf.u-szeged.hu>
Date: Fri Apr 15 2005 - 05:07:11 EDT
For sar work correctly, you MUST uncomment the lines of the file /etc/rc2.d/S21perf _and_ configure the crontab of sys user.


Thanks to Rodrigo Hernandez and Brian Miller for clearing this.

Krisztian

Here's my original question:
--------------
I use sa1 to collect system usage, sys user's crontab is:

0 * * * 0-6 /usr/lib/sa/sa1 I use sa1 to collect system usage, sys 
user's crontab is:

0 * * * 0-6 /usr/lib/sa/sa1
20,40 8-21 * * 1-5 /usr/lib/sa/sa1
5 22 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 21:01 -i 1200 -A

When I reboot my machine, data collection stops until I remove 
/var/adm/sa/sa## and re-create it by su sys -c "/usr/lib/sa/sadc 
/var/adm/sa/sa`date +%d`"

This way I lose collected data before reboot. How can I fix this?

20,40 8-21 * * 1-5 /usr/lib/sa/sa1
5 22 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 21:01 -i 1200 -A

When I reboot my machine, data collection stops until I remove 
/var/adm/sa/sa## and re-create it by su sys -c "/usr/lib/sa/sadc 
/var/adm/sa/sa`date +%d`"

This way I lose collected data before reboot. How can I fix this?
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Apr 15 05:07:50 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:45 EST