*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: binlogd | Section: 8 | Source: Digital UNIX | File: binlogd.8.gz
binlogd(8) System Manager's Manual binlogd(8) NAME binlogd - Binary event-log daemon SYNOPSIS /usr/sbin/binlogd [-d] [-f config_file] FLAGS Enables debugging. Specifies the alternate binary configuration file. DESCRIPTION The binlogd daemon logs binary event records to the files specified in the /etc/binlog.conf configuration file. You must use the uerf command to examine the files. Each binary event record includes an event class and priority code, which are described in /usr/sys/include/dec/binlog/*.h. The binlogd reads from the /bin/kbinlog special device and from the Internet domain socket specified in the /etc/services file. The binlogd daemon is con- figured when it starts up and when it receives a hangup signal. The /etc/binlog.conf file contains entries that specify the event class, the severity level, and the destination to which the binlogd daemon sends the messages. Each line of the /etc/binlog.conf file con- tains an entry. The event class and the severity level are separated by a period (.). The event class and severity level are separated from the destination by one or more tabs. Blank lines and lines beginning with a # (number sign) are ignored. If you specify an asterisk (*) for an event class or severity level, all event classes or all severity levels are selected. The event class is specified as a decimal number. The available class codes are speci- fied in /usr/sys/include/dec/binlogd.h and are as follows: Hardware-Related Events CPU machine checks and exceptions Memory Disks Tapes Device controllers Adapters Buses Stray interrupts Console events Stack dumps SCSI CAM events Software-Detected Events CI port-to-port driver events System communications services events Informational ASCII Messages Generic ASCII informational messages Operational Events ASCII startup messages ASCII shutdown messages Panic messages Timestamp Diagnostic status messages Repair and maintenance messages You can specify the following severity levels: Specifies events that cannot be recovered and that are usually fatal to system operation. Specifies events that either can be recovered or cannot be recovered but are not fatal to system operation. Specifies informational mes- sages. The destination for the messages can be either the full pathname of a local file or the name of a remote system. The remote host must be known to the system. You specify a remote system as follows: @host You can specify dumpfile instead of an event class and severity level to identify the pathname of the file that will contain the kernel bi- nary event-log buffer, which the savecore command recovers from a sys- tem dump. The default /etc/binlog.conf file causes the binlogd daemon to create a binary event-log file for all event classes and severity levels and specifies the binary crash dump file. The following is an example of the default /etc/binlog.conf file: *.* /usr/adm/binary.errlog dumpfile /usr/adm/crash/binlogdumpfile The binlogd daemon also creates the /var/run/binlogd.pid, if possible. The file contains a line that specifies the binlogd daemon's process identification number. Use this number to disable or reconfigure the binlogd daemon. To disable the binlogd daemon, send the process a SIGTERM signal. For example: kill -TERM `cat /var/run/binlogd.pid` To reconfigure the binlogd daemon, send the process a SIGHUP signal to cause it to read the configuration file again. For example: kill -HUP `cat /var/run/binlogd.pid` Processes on the local system also can connect to the binlogd daemon by using a local known socket (/dev/binlogdmb); this is referred to as a "mailbox." When the "mailbox" connection is established, the connected process receives the binary event records that the binlogd processes. The libbinlog.a library provides a set of routines that make using the "mailbox" easy. Refer to the descriptions in /usr/sys/include/dec/bin- log/*.h for information on using the "mailbox" programming interface. The uerf command with the -n option utilizes the binlogd "mailbox." Examining the Event-Log File Use the uerf command to translate the binary event-log file to ASCII text. The uerf command uses the file name destination for the *.* en- try in the /etc/binlog.conf as the default binary event-log file. If there is no *.* entry or if you do not want to use the default file, use the uerf command with the -f filename option to specify the binary event-log file. FILES Command path. Binary configuration file. Process identification num- ber. Name of the "mailbox" socket. Kernel log device. RELATED INFORMATION Commands: logger(1), savecore(8), uerf(8) System Administration delim off binlogd(8)

Navigation Options