SAR is a monitoring command under Linux system
To install the SAR:
Yum Install-y Sysstat
The first time you use the SAR command, the following error is reported: "Cannot open/var/log/sa/sa17: There is no file or directory."
Here's a value of 171 like the date of the day (I tested on August 17, 2015, so here is 17). This error is caused by not creating the file, but using the parameter-o to generate it.
Sar-o 17
So there will be files in the/var/log/sysstat/directory.
1. Sar-n DEV View network card traffic
Sar-n DEV 1 5 # 1 seconds display, a total of 5 times sar-n dev-f/var/log/sa/sa17 #-F option to see one day the network card traffic history, followed by the corresponding file name
2. Sar-q View Historical load
3. Sar-b View Disk
This article is from the "M April Days" blog, please be sure to keep this source http://1015489314.blog.51cto.com/8637744/1685399
Can't open/var/log/sa/sa17: no file or directory