alert日志文件过大的处理

来源:互联网 发布:高斯金字塔 python 编辑:程序博客网 时间:2024/06/05 08:13
1.清空  cat /dev/null > alert_sid.log2.截断     tail -n 1000 alert_sid.log > alert_sid.log3.使用echo     echo "" > alert_sid.log

原创粉丝点击