文件操作 - mysql-mmm.conf
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/logwatch/default.conf/logfiles/mysql-mmm.conf
编辑文件内容
########################################################################## # $Id$ ########################################################################## # What actual file? Defaults to LogPath if not absolute path.... LogFile = mysql-mmm/mmm_agentd.log LogFile = mysql-mmm/mmm_agentd.log.1 LogFile = mysql-mmm/mmm_mond.log LogFile = mysql-mmm/mmm_mond.log.1 # If the archives are searched, here is one or more line # (optionally containing wildcards) that tell where they are... Archive = mysql-mmm/mmm_agentd.log.*.gz Archive = mysql-mmm/mmm_mond.log.*.gz # Keep only the lines in the proper date range... *ApplyStdDate = "%Y/%m/%d %H:%M:%S" # vi: shiftwidth=3 tabstop=3 et
修改文件时间
将文件时间修改为当前时间的前一年
删除文件