红联Linux门户
Linux帮助

linux log analysis 日志分析

发布时间:2007-09-01 00:24:16来源:红联作者:SharpSword
日专分析可以监控linux机的任何改动,如何直接分析log可能会很复杂。

可以用工具来减轻administrator压力
yum -y install logwatch(fedora)
apt-get install logwatch(debian)

fedora2和fedora6的logwatch.conf放的位置是不一样的,用logwatch+tab 或者whereis logwtch去查一下吧

Debian直接打入#logwatch就能够显示log出来了,不过最好还是设置一下logwatch.conf

fedora就不一样了。要先设置logwath.conf才能显示logwyth

进入logwatch.conf
把pint = yes
detail = higth
就OK了。
文章评论

共有 0 条评论