文件操作 - local
返回文件管理
返回主菜单
删除本文件
文件: /root/sh/etc/pcp/pmlogger/control.d/local
编辑文件内容
# # PCP archive logging configuration/control # # see ../control for a description of the format # # === VARIABLE ASSIGNMENTS === # # DO NOT REMOVE OR EDIT THE FOLLOWING LINE $version=1.1 # Uncomment one of the lines below to enable/disable compression behaviour # that is different to the pmlogger_daily default. # Value is days before compressing archives, 0 is immediate compression, # "never" or "forever" suppresses compression. # #$PCP_COMPRESSAFTER=0 #$PCP_COMPRESSAFTER=3 #$PCP_COMPRESSAFTER=never # === LOGGER CONTROL SPECIFICATIONS === # #Host P? S? directory args # local primary logger LOCALHOSTNAME y n PCP_LOG_DIR/pmlogger/LOCALHOSTNAME -r -T24h10m -c config.default -v 100Mb
修改文件时间
将文件时间修改为当前时间的前一年
删除文件