Can't open/var/log/sa/sa17: no file or directory

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.