Logging in Linux

The Syslogd daemon is responsible for receiving messages sent by the kernel and other service daemons and sends them to a log file that is located in /var/log/messages. This is the default file, but Syslogd is also configurable ( in the /etc/syslog.conf) so as to make it possible to create other files depending on the source.

Other related commands –

uptime: time that the system has been active. useful for checking that no unexpected system reboot has happened.

last: analyzes in/out log of the system (/var/log/wtmp) of the users and the system reboots.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: