打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Ubuntu安装sar出错Please check if data collecting is enabled in /etc/default/sysstat

1、安装sysstat

apt-get install sysstat

2、安装后无法使用:

Cannot open /var/log/sysstat/sa02: No such file or directoryPlease check if data collecting is enabled in /etc/default/sysstat

3、修改配置文件:vi /etc/default/sysstat

将False改为True

----# Should sadc collect system activity informations? Valid values# are "true" and "false". Please do not put other values, they# will be overwritten by debconf!ENABLED="true"----

 

4、重启sysstat服务即可

service sysstat restart

 

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
启用 Mod_rewrite 模块
debian;ubuntu下apache2重定向模块的添加[转]
ubuntu 开机系统顺序选择的更改(转载)
[转]ubuntu开机直接进入控制台
windows和ubuntu Kylin双系统修改默认启动项
ubuntu修改默认启动级别(直接进入文本界面)
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服