SARnn missing data from 18:00 till 24:00
This document (7009312) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 11
SUSE Linux Enterprise Server 11 Service Pack 1
Situation
In /var/log/sa/sarnn only data until 18:00 is available.
Resolution
#crontab for sysstat
# activity reports every 10 minutes everyday
-*/10 * * * * root /usr/lib64/sa/sa1 -d 1 1
# update reports every 6 hours
0 */6 * * * root /usr/lib64/sa/sa2 -A
This will generate the last sarnn at 18:00 hour. In SLES10 there is an extra line, that will create the sarnn around 23:53. Adding the following line to /etc/cron.d/sysstat will solve this problem:
# Generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib64/sa/sa2 -A
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7009312
- Creation Date: 08-Sep-2011
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com