System Administration Guide: Advanced Administration

Running the sadc Command When Booting

The sadc command should be run at system boot time in order to record the statistics from when the counters are reset to zero. To make sure that sadc is run at boot time, the /etc/init.d/perf file contains a command line that writes a record to the daily data file.

The command entry has the following format:


/usr/bin/su sys -c "/usr/lib/sa/sadc /var/adm/sa/sa`date +%d`"