Commit | Line | Data |
---|---|---|
1da6d6c3 KM |
1 | .\" Copyright (c) 1980 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
746b2921 | 5 | .\" @(#)dmesg.8 6.3 (Berkeley) %G% |
1da6d6c3 | 6 | .\" |
d6a30cad | 7 | .TH DMESG 8 "" |
1da6d6c3 KM |
8 | .UC 4 |
9 | .SH NAME | |
10 | dmesg \- collect system diagnostic messages to form error log | |
11 | .SH SYNOPSIS | |
746b2921 | 12 | .B dmesg |
1da6d6c3 KM |
13 | [ \- ] |
14 | .SH DESCRIPTION | |
c385f074 MK |
15 | .B N.B.: |
16 | .I Dmesg | |
17 | is obsoleted by | |
18 | .IR syslogd (8) | |
19 | for maintenance of the system error log. | |
20 | .PP | |
1da6d6c3 KM |
21 | .I Dmesg |
22 | looks in a system buffer for recently printed diagnostic messages | |
23 | and prints them on the standard output. | |
c385f074 MK |
24 | The messages are those printed or logged |
25 | by the system when errors occur. | |
1da6d6c3 KM |
26 | If the |
27 | .B \- | |
28 | flag is given, then | |
29 | .I dmesg | |
30 | computes (incrementally) the new messages since the last time it | |
31 | was run and places these on the standard output. | |
1da6d6c3 KM |
32 | .SH FILES |
33 | .ta 2i | |
746b2921 | 34 | /var/log/msgbuf scratch file for memory of \- option |
c385f074 MK |
35 | .SH SEE ALSO |
36 | syslogd(8) |