日专分析可以监控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了
如何直接分析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了