O'Reilly logo

Red Hat Linux System Administration Handbook by Mark F. Komarinski, Cary Collett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 18. System and Network Monitoring

Keep an eye on your system and the rest of the network

Monitor your Linux machine from the console or remotely using the syslog program and other utilities.

Syslog

The syslog program monitors kernel and user events and routes messages based on what you want to do. These events can be minor things, such as the root logging in, or they can be serious, such as a hard drive failure, kernel panic, or reboot.

The syslogd program gets started up at boot-time and uses the /etc/syslogd.conf file to know what to do. Here's a sample configuration file:

# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.*                                    /dev/console # Log anything (except mail) of level info or higher. # Don't ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required