Starting sadc/sar as a service
Collect diagnostic data when a problem occurs. Then submit the diagnostic data to IBM Support.
Whatever the problem, start with this general collection of data as soon as the error occurs, preferably
before a reboot of the system.
Start sadc/sar by using the sysstat service. When started as a service, the data files are written to the /var/log/sa directory. The files are named sa<dd> and sar<dd> respectively, where <dd> is the current day's two-digit date. Both files are constantly updated during the day.
Procedure
To start the sadc command as a service:
Start the sysstat service.
- To start the sysstat service as a permanent service that persists across
reboots, issue:
systemctl enable sysstat.service
To check that the service is started at boot time and to check that the service is active, issue:systemctl status sysstat.service
If the service is not active, issue the following command to start it:systemctl start sysstat.service