*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> syslogc (8)              
Title
Content
Arch
Section
 

SYSLOGC(8)

Contents


NAME    [Toc]    [Back]

     syslogc - collect messages from syslog memory buffer

SYNOPSIS    [Toc]    [Back]

     syslogc [-Ccoq] [-s reporting_socket] logname
     syslogc [-Cc] logname
     syslogc -q

DESCRIPTION    [Toc]    [Back]

     syslogc collects messages from the syslogd(8) memory  buffer
specified by
     the logname argument.

     For  syslogc to work, syslogd(8) must be configured with one
or more memory
 buffer logs (see syslog.conf(5) for details) and  have  a
reporting
     socket  location  specified on the commandline (using the -s
option to
     syslogd(8)).

     By default, syslogc will query the specified log and  return
it to standard
 output.

     The options are as follows:

     -C      Request that the log buffer be cleared without reading it.

     -c      Request that the log buffer be cleared once  it  has
been read.

     -o       Check whether the specified log has overflowed.  If
the log has
             overflowed, then a message will be printed  to  stdout(4) and the
             exit status will be set to 1.

     -q      Request a list of available logs.

     -s reporting_socket
             Specify alternate reporting socket location (the default is
             /var/run/syslogd.sock).

SEE ALSO    [Toc]    [Back]

      
      
     syslog(3), syslog.conf(5), syslogd(8)

HISTORY    [Toc]    [Back]

     The syslogc command first appeared in OpenBSD 3.5.

OpenBSD     3.6                        November      2,      2003
[ Back ]
 Similar pages
Name OS Title
syslog.auth Tru64 authorization file for accepting remote syslog messages
dmesg HP-UX collect system diagnostic messages to form error log
openpam_log FreeBSD log a message through syslog
syslog_evm.conf Tru64 EVM syslog subscription configuration file
mpool_open NetBSD shared memory buffer pool
mpool_new OpenBSD shared memory buffer pool
mpool_put OpenBSD shared memory buffer pool
mpool_open OpenBSD shared memory buffer pool
mpool_close NetBSD shared memory buffer pool
mpool_sync NetBSD shared memory buffer pool
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service