- 求职 : Linux运维
- 论坛徽章:
- 203
|
1、如果系统已经安装了旧版本的sysstat,那么执行yum -y install 是会把旧版本升级的是吗
[root@localhost ~]# yum -y install sysstat
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirrors.skyshe.cn
Resolving Dependencies
--> Running transaction check
---> Package sysstat.x86_64 0:9.0.4-20.el6 will be updated
---> Package sysstat.x86_64 0:9.0.4-27.el6 will be an update
2、我执行完 yum -y install sysstat之后,再执行这个命令就报错,百度也没有答案
[root@localhost ~]# sar -n DEV
Invalid system activity file: /var/log/sa/sa24
File created using sar/sadc from sysstat version 9.0.4
Current sysstat version can no longer read the format of this file (0x2170)
Format of this file had been changed in sysstat-9.0.4-20.el6
due to incompatibility of the certain data types with the current kernel. |
|