summaryrefslogtreecommitdiff
path: root/static/unix-v10/man8/dmesg.8
blob: 162b84fded2749ca6f984bb8e2186378b1e6107f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
.TH DMESG 8
.CT 1 sa_nonmortals
.SH NAME
dmesg \- system diagnostic messages
.SH SYNOPSIS
.B /etc/dmesg
[
.B -
]
[
.B -i
]
[
.I core namelist
]
.SH DESCRIPTION
.I Dmesg
looks in a system buffer
for recent console messages from the operating system
and reproduces them on the standard output.
Under option
.LR - ,
.I dmesg
produces only those messages printed by the system
since the last time
.L dmesg\ -
was run.
It is normally run periodically by
.IR cron (8)
to produce the error log
.FR /usr/adm/messages .
.PP
Option
.B -i
prints messages produced since the last
.L dmesg\ -
without changing any records.
.PP
If
.I core
and
.I namelist
are specified,
they are used in place of
.F /dev/kmem
and
.FR /unix .
.SH FILES
.TF /usr/adm/messages
.TP
.F /usr/adm/messages
error log
.br
.TP
.F /usr/adm/msgbuf
record of option
.L -
.SH BUGS
Since the system error message buffer is small,
not all error messages
are guaranteed to be logged.
.br
Error messages generated immediately before a system crash
may not be logged.