日志管理工具logrotate
1运行原理Logrotate是基于CRON来运行的,其脚本是/etc/cron.daily/logrotate#!/bin/sh/usr/sbin/logrotate/etc/logrotate.confEXITVALUE=$?if [ $EXITVALUE != 0 ];then /usr/bin/logger -t logrotate "ALERT exited abnormally with[$EXITVALUE]"fiexit 0&nbs...
注册时间:2014-07-02