Why does sar not able to interpret sar files in Red Hat Enterprise Linux 6?
Issue
- Why does
sarnot able to interpretsarfiles in Red Hat Enterprise Linux 6?
[root@test sa]# cd /var/log/sa/
[root@test sa]# ll
total 5700
-rw-r--r-- 1 root root 313584 Dec 23 23:50 sa23
-rw-r--r-- 1 root root 313584 Dec 24 23:50 sa24
-rw-r--r-- 1 root root 313584 Dec 25 23:50 sa25
-rw-r--r-- 1 root root 313584 Dec 26 23:50 sa26
-rw-r--r-- 1 root root 313584 Dec 27 23:50 sa27
-rw-r--r-- 1 root root 313584 Dec 28 23:50 sa28
-rw-r--r-- 1 root root 313584 Dec 29 23:50 sa29
-rw-r--r-- 1 root root 313584 Dec 30 23:50 sa30
-rw-r--r-- 1 root root 141680 Dec 31 10:40 sa31
-rw-r--r-- 1 root root 341169 Dec 22 23:53 sar22
-rw-r--r-- 1 root root 341170 Dec 23 23:53 sar23
-rw-r--r-- 1 root root 341169 Dec 24 23:53 sar24
-rw-r--r-- 1 root root 341170 Dec 25 23:53 sar25
-rw-r--r-- 1 root root 341169 Dec 26 23:53 sar26
-rw-r--r-- 1 root root 341205 Dec 27 23:53 sar27
-rw-r--r-- 1 root root 341179 Dec 28 23:53 sar28
-rw-r--r-- 1 root root 341171 Dec 29 23:53 sar29
-rw-r--r-- 1 root root 341170 Dec 30 23:53 sar30
[root@test sa]#
[root@test sa]#
[root@test sa]# which sar
/usr/bin/sar
[root@test sa]# sar -f ./sar29
Invalid system activity file: ./sar29 (0x6e65)
[root@test sa]#
[root@test sa]# sar -f ./sar23
Invalid system activity file: ./sar23 (0x6e65)
[root@test sa]#
Environment
- Red Hat Enterprise Linux 5/6/7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
