Colleague phone query Linux next cluster 2 hosts before and after 2 days of no response, the performance status of Ping did not respond.
Because there is no monitoring or other performance data, you need to get historical OS performance data.
We know that rhel5,6 can see the OS history information by default with the SAR command, so the SAR can see the data of the day.
[[email protected] sa]# SAR
Linux 2.6.32-431.el6.x86_64 (ora11g) 09/16/2015 _x86_64_ (2 CPU)
08:43:42 PM LINUX RESTART
08:50:01 PM CPU%user%nice%system%iowait%steal%idle
09:00:01 PM all 0.24 0.00 0.41 0.06 0.00 99.29
09:10:01 PM All 0.24 0.00 0.33 0.01 0.00 99.43
09:20:01 PM all 0.19 0.06 0.86 0.52 0.00 98.37
09:30:01 PM All 0.57 0.00 0.93 0.11 0.00 98.40
Average:all 0.31 0.01 0.63 0.17 0.00 98.87
To see historical data, the directory is/VAR/LOG/SA, add the parameter-F to
[Email protected] sa]# sar-f sa21
Linux 2.6.32-431.el6.x86_64 (ora11g) 08/21/2015 _x86_64_ (2 CPU)
12:20:29 PM LINUX RESTART
12:30:01 PM CPU%user%nice%system%iowait%steal%idle
12:40:01 PM All 0.26 0.00 0.92 0.01 0.00 98.81
12:50:01 PM All 0.24 0.00 0.88 0.00 0.00 98.88
01:00:01 PM All 0.17 0.00 0.42 0.01 0.00 99.41
01:10:01 PM All 0.29 0.00 0.80 0.01 0.00 98.90
01:20:01 PM all 0.26 0.00 0.96 0.01 0.00 98.77
01:30:01 PM All 0.30 0.00 0.99 0.01 0.00 98.71
01:40:02 PM all 0.31 0.06 1.46 0.32 0.00 97.85
01:50:01 PM All 0.33 0.00 1.09 0.01 0.00 98.58
02:00:01 PM All 0.25 0.00 0.59 0.01 0.00 99.16
02:10:01 PM all 0.31 0.00 0.97 0.02 0.00 98.69
02:20:01 PM All 0.28 0.00 1.00 0.00 0.00 98.71
Average:all 0.27 0.01 0.92 0.04 0.00 98.77
How to look at the performance data of OS history under Linux Platform