use fd_set's for select
[unix-history] / usr / src / old / implog / implog.8
CommitLineData
8315e7e7
KM
1.\" Copyright (c) 1983 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
5ff3aee0 5.\" @(#)implog.8 6.1 (Berkeley) %G%
8315e7e7 6.\"
5ff3aee0 7.TH IMPLOG 8C ""
8315e7e7
KM
8.UC 5
9.SH NAME
10implog \- IMP log interpreter
11.SH SYNOPSIS
12.B /etc/implog
13[
14.B \-D
15] [
16.B \-f
17] [
18.B \-c
19] [
20.B \-l
21[
22.I link
23] ] [
24.B \-h
25.I host#
26] [
27.B \-i
28.I imp#
29] [
30.B \-t
31.I message-type
32]
33.SH DESCRIPTION
34.I Implog
35is program which interprets the message log produced by
36.IR implogd (8C).
37.PP
38If no arguments are specified,
39.I implog
40interprets and prints every message present in the message
41file. Options may be specified to force printing only a
42subset of the logged messages.
43.TP
44.B \-D
45Do not show data messages.
46.TP
47.B \-f
48Follow the logging process in action. This flags causes
49.I implog
50to print the current contents of the log file, then
51check for new logged messages every 5 seconds.
52.TP
53.B \-c
54In addition to printing any data messages logged, show the
55contents of the data in hexadecimal bytes.
56.TP
57\fB\-l\fP [ \fIlink\fP# ]
58Show only those messages received on the specified ``link''. If
59no value is given for the link, the link number of the IP protocol
60is assumed.
61.TP
62\fB\-h\fP \fIhost\fP#
63Show only those messages received from the specified host.
64(Usually specified in conjunction with an imp.)
65.TP
66\fB\-i\fP \fIimp\fP#
67Show only those messages received from the specified imp.
68.TP
69\fB\-t\fP \fImessage-type\fP
70Show only those messages received of the specified message type.
71.SH "SEE ALSO"
72imp(4P),
73implogd(8C)
74.SH BUGS
75Can not specify multiple hosts, imps, etc.
76Can not follow reception of messages without looking at
77those currently in the file.