例如,你可以設定logrotate,讓/var/log/foo日誌檔案每30天輪循,並刪除超過6 ... [root@localhost ~]# rpm -ql logrotate /etc/cron.daily/logrotate ...
確定! 回上一頁