Red Hat ENTERPRISE LINUX 5.4 - SYSTEMTAP BEGINNERS GUIDE Technical Information Seite 81

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 240
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 239 240

Kommentare zu diesen Handbüchern

Keine Kommentare