xref: /original-bsd/sbin/dmesg/dmesg.8 (revision 1ff91bf0)
1.\" Copyright (c) 1980, 1991 Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\"     @(#)dmesg.8	6.4 (Berkeley) 03/16/91
7.\"
8.Dd
9.Dt DMESG 8
10.Os BSD 4
11.Sh NAME
12.Nm dmesg
13.Nd "collect system diagnostic messages to form error log"
14.Sh SYNOPSIS
15.Nm dmesg
16.Op Fl
17.Sh DESCRIPTION
18.Sy N.B.:
19.Nm Dmesg
20is obsoleted by
21.Xr syslogd 8
22for maintenance of the system error log.
23.Pp
24.Nm Dmesg
25looks in a system buffer for recently printed diagnostic messages
26and prints them on the standard output.
27The messages are those printed or logged
28by the system when errors occur.
29.Pp
30Available option:
31.Bl -tag -width Ds
32.It Fl
33.Nm Dmesg
34computes (incrementally) the new messages since the last time it
35was run and places these on the standard output.
36.El
37.Sh FILES
38.Bl -tag -width /var/log/msgbuf -compact
39.It Pa /var/log/msgbuf
40scratch file for memory of
41.Ql Fl
42option
43.El
44.Sh SEE ALSO
45.Xr syslogd 8
46.Sh HISTORY
47The
48.Nm
49command appeared in
50.Bx 4.0 .
51