<br>Olá lista,<br>O comando logwatch serve verificar de um modo mais personalizado sem ter que ficar lendo todos os arquivos de log gerado no sistema. Ele é simples, basta informar de quem vc quer log, o nível de detalhe e o período.<br>
<br>Veja no comando a seguir apenas informações mínimas sobre o kernel para o dia de hoje, aqui percebemos que teve 41 probelemas com o Firefox (ele ta todo desgraçado), 1 problema o google dektop indexer e problemas com serviços RPC.<br>
<br><br><span style="font-family: courier new,monospace;"># logwatch --service kernel --detail low --range today --print</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ################### Logwatch 7.3.6 (05/19/07) #################### </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">        Processing Initiated: Mon Set 28 19:00:00 2009</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">        Date Range Processed: today</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">                              ( 2009-Set-28 )</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">                              Period is day.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">      Detail Level of Output: 0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">              Type of Output: unformatted</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">           Logfiles for Host: <a href="http://ns1.hotname.com">ns1.hotname.com</a></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">  ################################################################## </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> --------------------- Kernel Begin ------------------------ </span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> WARNING:  Segmentation Faults in these executables</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    firefox :  41 Time(s)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> WARNING:  General Protection Faults in these executables</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">    gdl_indexer :  1 Time(s)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> WARNING:  Kernel Errors Present</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">    rpcbind: RPC call returned error 1 ...:  6 Time(s)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ---------------------- Kernel End ------------------------- </span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ###################### Logwatch End ######################### </span><br><br>Nota: Essa máquina foi usada o dia todo mas o usuário nem se deu conta desses problemas, então não quer dizer que se o problema naum aparece na tua cara ele naun exista. Por isso que é aconselhável somente se instalar o que realmente vai usar e sempre manter atualizações do sistema.<br>
Siga ess dica e terá um Linux melhor ainda e sem dor de cabeça.<br>Valeuzzzzzzzzzzzzzzzzzzzzzz<br><br>t+<br><br>Adilson Bonanovisky<br><br>