System Administration Guide, Volume 2

Running sadc 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 must contain a command line that writes a record to the daily data file.

The command entry has the following format:


su sys -c "/usr/lib/sa/sadc /usr/adm/sa/sa`date +5d`"