
syslogd | 455
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-n Print values only, no keynames.
-p Reset keys from information specified in /etc/sysctl.conf.
-w key=value
Write a new value to the specified key.
sysklogd
syslogd [options]
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.
Options
-a socket
Add socket to the list of sockets syslogd listens to.
-d Turn on debugging.
-f configfile
Specify alternate configuration file.
-h Forward messages from remote hosts to forwarding hosts.
-l hostlist
Specify hostnames that should be logged with just the host-
name, not the fully qualified domain name. Multiple hosts
should be separated by a colon (:).
-m markinterval
Select number of ...