diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2004-06-25 19:11:39 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2004-06-25 19:11:39 +0000 |
commit | 8fcce6450e9a864014f4e8c0f0c17baecb3820f9 (patch) | |
tree | 12d9b1641699bcb47f7ec36244111666a8b10a19 /usr.sbin/syslogc/syslogc.8 | |
parent | c8e17dc197fcbafae1711f7106233e61719fd5ef (diff) |
support new syslogd control protocol and add new -o option to detect memory
buffer overflow; idea & ok markus@
NB if you are using memory buffered logging make sure you update both syslogd
and syslogc _and_ restart syslogd because the protocol has changed
Diffstat (limited to 'usr.sbin/syslogc/syslogc.8')
-rw-r--r-- | usr.sbin/syslogc/syslogc.8 | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/syslogc/syslogc.8 b/usr.sbin/syslogc/syslogc.8 index 2d8972a50d8..037697359f5 100644 --- a/usr.sbin/syslogc/syslogc.8 +++ b/usr.sbin/syslogc/syslogc.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: syslogc.8,v 1.1 2004/01/04 08:30:21 djm Exp $ +.\" $OpenBSD: syslogc.8,v 1.2 2004/06/25 19:11:38 djm Exp $ .\" .\" Copyright (c) 2004 Damien Miller .\" @@ -21,7 +21,7 @@ .Nd collect messages from syslog memory buffer .Sh SYNOPSIS .Nm syslogc -.Op Fl Ccq +.Op Fl Ccoq .Op Fl s Ar reporting_socket .Ar logname .Nm syslogc @@ -59,6 +59,11 @@ The options are as follows: Request that the log buffer be cleared without reading it. .It Fl c Request that the log buffer be cleared once it has been read. +.It Fl o +Check whether the specified log has overflowed. +If the log has overflowed, then a message will be printed to +.Xr stdout 4 +and the exit status will be set to 1. .It Fl q Request a list of available logs. .It Fl s Ar reporting_socket |