29号早上9点对一台Linux redhat 6 的VM(虚拟机)在调整CPU数(2->8)后发现,sar 查看当天CPU loading时,报错:
[root@vswhInd4DBt ~]# sar
Invalid system activity file: /var/log/sa/sa29
查看SYSSTAT官网
http://sebastien.godard.pagesperso-orange.fr/faq.html
主要说可能是因为sysstat版本变化照成saxx文件(/var/log/sa/sa29)格式的变化,不兼容导致不可读sarxx文件
Invalid system activity file: ...
You are trying to use a file which is not a system activity file, or whose format is no longer compatible with that of files created by current version of sar.