Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
System administration command. sysklogd provides both syslogd and klogd functionality. By default, it is meant to behave exactly like the BSD version of syslogd. While the difference should be completely transparent to the user, sysklogd supports an extended syntax. It is invoked as syslogd.
sysklogd logs system messages into a set of files described by the configuration file /etc/syslog.conf. Each message is one line. A message can contain a priority code, marked by a number in angle brackets at the beginning of the line. Priorities are defined in <sys/syslog.h>. syslogd reads from an Internet domain socket specified in /etc/services. To bring syslogd down, send it a terminate signal. See also klogd.
Add socket to the list of sockets syslogd listens to.
Turn on debugging.
Specify alternate configuration file.
Forward messages from remote hosts to forwarding hosts.
Specify hostnames that should be logged with just the hostname, not the fully qualified domain name. Multiple hosts should be separated by a colon (:).
Select number of minutes between mark messages.
Avoid auto-backgrounding. This is needed when starting syslogd from init.
Send log to socket instead of /dev/log.
Receive messages from the network using an Internet domain socket with the syslog service.
Strip off domain names specified in domainlist before logging. Multiple domain names should be separated by a colon (:).
Print version number, then exit.
Disable domain name lookups for remote messages.