Annotated edit history of
dmesg(8) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
DMESG |
|
|
2 |
!!!DMESG |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
SEE ALSO |
|
|
8 |
AUTHOR |
|
|
9 |
---- |
|
|
10 |
!!NAME |
|
|
11 |
|
|
|
12 |
|
|
|
13 |
dmesg - print or control the kernel ring buffer |
|
|
14 |
!!SYNOPSIS |
|
|
15 |
|
|
|
16 |
|
|
|
17 |
__dmesg [[ -c ] [[ -n__ ''level'' __] [[ -s__ |
|
|
18 |
''bufsize'' __]__ |
|
|
19 |
!!DESCRIPTION |
|
|
20 |
|
|
|
21 |
|
|
|
22 |
__dmesg__ is used to examine or control the kernel ring |
|
|
23 |
buffer. |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
The program helps users to print out their bootup messages. |
|
|
27 |
Instead of copying the messages by hand, the user need |
|
|
28 |
only: |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
dmesg |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
and mail the ''boot.messages'' file to whoever can debug |
|
|
35 |
their problem. |
|
|
36 |
!!OPTIONS |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
__-c__ |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
Clear the ring buffer contents after printing. |
|
|
43 |
|
|
|
44 |
|
|
|
45 |
__-s__''bufsize'' |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
Use a buffer of size ''bufsize'' to query the kernel ring |
|
|
49 |
buffer. This is 16392 by default. (The default kernel syslog |
|
|
50 |
buffer size was 4096 at first, 8192 since 1.3.54, 16384 |
|
|
51 |
since 2.1.113.) If you have set the kernel buffer to be |
|
|
52 |
larger than the default then this option can be used to view |
|
|
53 |
the entire buffer. |
|
|
54 |
|
|
|
55 |
|
|
|
56 |
__-n__''level'' |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
Set the ''level'' at which logging of messages is done to |
|
|
60 |
the console. For example, __-n 1__ prevents all messages, |
|
|
61 |
expect panic messages, from appearing on the console. All |
|
|
62 |
levels of messages are still written to ''/proc/kmsg'', |
|
|
63 |
so syslogd(8) can still be used to control exactly |
|
|
64 |
where kernel messages appear. When the __-n__ option is |
|
|
65 |
used, __dmesg__ will ''not'' print or clear the kernel |
|
|
66 |
ring buffer. |
|
|
67 |
|
|
|
68 |
|
|
|
69 |
When both options are used, only the last option on the |
|
|
70 |
command line will have an effect. |
|
|
71 |
!!SEE ALSO |
|
|
72 |
|
|
|
73 |
|
|
|
74 |
syslogd(8) |
|
|
75 |
!!AUTHOR |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
Theodore Ts'o (tytso@athena.mit.edu) |
|
|
79 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.