Red Hat ENTERPRISE LINUX 5.4 - SYSTEMTAP BEGINNERS GUIDE Informações Técnicas Página 81

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 80
Analyzing and Managing System Log Files 67
ignore.conf
Filter for all lines that should globally be ignored by logwatch.
services/*.conf
The service directory holds configuration files for each service you can generate a
report for.
logfiles/*.conf
Specifications on which log files should be parsed for each service.
4.5 Using logger to Make System
Log Entries
logger is a tool for making entries in the system log. It provides a shell command
interface to the syslog(3) system log module. For example, the following line outputs
its message in /var/log/messages:
logger -t Test "This messages comes from $USER"
Depending on the current user and hostname, /var/log/messages contains a
line similar to this:
Sep 28 13:09:31 venus Test: This messages comes from tux
Vista de página 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 239 240

Comentários a estes Manuais

Sem comentários