sar command returns "End of system activity file unexpected".
Issue
- The sar command returns a message "End of system activity file unexpected" and fails.
# sar -f /var/log/sa/sa10
Linux 3.10.0-1062.el7.x86_64 (server1) 04/10/2021 _x86_64_ (4 CPU)
End of system activity file unexpected
- The customer collects information with sadc by executing cron on their environment.
$ cat /etc/cron.d/sysstat
# Run system activity accounting tool every 10 minutes
* * * * * root /usr/lib64/sa/sa1 1 60
Environment
- Red Hat Enterprise Linux 7.7
- kernel-3.10.0-1062.el7.x86_64
- sysstat-10.1.5-18.el7.x86_64
- sysstat-10.1.5-18.el7_7.1.x86_64
- sysstat-10.1.5-19.el7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.