Cannot open /var/log/sa/sa*: No such file or directory的解决办法
来源:互联网 发布:python爬取百度文库 编辑:程序博客网 时间:2024/05/18 00:20
sar来是外部的工具,不是系统默认就安装有的。
可以到http://pagesperso-orange.fr/sebastien.godard/download.html去下载!
安装
# tar zxvf xxx.tar.gz
# ./configure
# make
# make install
安装首次执行#sar 命令时会提示如下错误。
Cannot open /var/log/sa/sa**: No such file or directory
星号值一般是当天的日期。
这个错误是由于没有创建那个文件,可是使用参数-o 让其生成。
#sar -o 2 3
这样/var/log/sa/目录下就会有文件了。
有人说起需要运行sysstat才不会报这个错误,实际上这样做了之后问题依旧。
# chmod 751 /etc/sysconfig/sysstat
# /etc/sysconfig/sysstat
0 0
- Cannot open /var/log/sa/sa*: No such file or directory的解决办法
- Cannot open /var/log/sa/sa23: No such file or directory
- Cannot open /var/log/sa/sa**: No such fileor directory解决方法
- 错误信息:Cannot open /var/log/sa/sa**
- Cannot open include file: 'vtkPolyDataMapper.h': No such file or directory 之类的解决办法
- LOGCAT里面出现UNABLE TO OPEN LOG DEVICE ‘/DEV/LOG/MAIN': NO SUCH FILE OR DIRECTORY 的解决办法
- cannot open shared object file: No such file or directory
- cannot open shared object file: No such file or directory
- cannot open shared object file: No such file or directory
- cannot open shared object file: No such file or directory
- cannot open shared object file: No such file or directory
- cannot open shared object file: No such file or directory
- fatal error C1083: Cannot open include file: 'htmlhelp.h': No such file or directory 解决办法
- linux 安装 VTK 提示libvtkNetCDF_cxx.so: cannot open shared object file: No such file or directory 的解决办法
- minicom: cannot open /dev/ttyUSB0:No such file or directory 或no such device的情况。
- linux安装jdk的错误解决办法(tail: cannot open `+511' for reading: No such file or directory)
- fatal error C1083 Cannot open include file 'iostream.h' No such file or directory 的解决方法
- fatal error C1083 Cannot open include file 'iostream.h' No such file or directory 的解决方法
- 高精度加法==
- java创建银行账户,自定义取钱超过余额异常
- Button点击事件和LIstview子控件点击事件失效
- eclipse maven 项目 出现红色叹号 解决方法
- AppBarLayout&CoordinatorLayout&Behavior
- Cannot open /var/log/sa/sa*: No such file or directory的解决办法
- 20170303zabbix 主动模式和被动模式说明
- AudioRecord-安卓API中文在线文档
- 2.Hbase集群的搭建
- java 女神系统③
- Android 在ListView的adapter里调用 activity里的方法
- 阿里巴巴Java开发手册
- 编程语言间的战争
- fig3.3