文件操作 - sysstat
返回文件管理
返回主菜单
删除本文件
文件: /root/sh/etc/sysconfig/sysstat
编辑文件内容
# sysstat-10.1.5 configuration file. # How long to keep log files (in days). # If value is greater than 28, then log files are kept in # multiple directories, one for each month. HISTORY=28 # Compress (using gzip or bzip2) sa and sar files older than (in days): COMPRESSAFTER=31 # Parameters for the system activity data collector (see sadc manual page) # which are used for the generation of log files. SADC_OPTIONS="-S DISK" # Compression program to use. ZIP="bzip2"
修改文件时间
将文件时间修改为当前时间的前一年
删除文件