#cd sysstat-5.1.1
#make config 这步可以省略,因为我在安装的过程 中,发现在有些发行版中出错,如果不用这个命令,可以直接安装到其默认的/usr/local/lib目录中
make config这个命令就是用来配置sysstat安装的,比如安装路径,log存放等,如下:
代码:
Installation directory: [/usr/local]
sadc directory: [/usr/local/lib/sa]
System activity directory: [/var/log/sa]
Clean system activity directory? [n]
Enable National Language Support (NLS)? [y]
Linux SMP race in serial driver workaround? [n]
sa2 uses daily data file of previous day? [n]
Number of daily data files to keep: [7]
Group for manual pages: [man]
Set crontab to start sar automatically? [n]