1834483 Members
3066 Online
110067 Solutions
New Discussion

System startup and sadc

 
Chris Hart_1
Occasional Contributor

System startup and sadc

In HP-UX 11.0, the man page for sadc (sar) states a call to sadc should be done during system reboot to mark the restart in the daily file and indicate the counters were reset to zero. Is this necessary or can you just let cron takeover the sar data collection on the next call?
1 REPLY 1
linuxfan
Honored Contributor

Re: System startup and sadc

Hi Chris,

Executing sadc during startup writes the special record to the daily data file to mark system restart.

One normally runs sa1 and sa2 in cron which basically calls sadc anyway but with n and t options.

We always execute sadc /var/adm/sa/sa'date +%d' in our startup scripts.

-HTH
Ramesh
They think they know but don't. At least I know I don't know - Socrates