SUMMARY: system activity report

2007-12-25 4:48:00

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?

Comments

Got something to say?

You must be logged in to post a comment.