DMESG(1) General Commands Manual DMESG(1)NAME
dmesg - print or control the kernel ring buffer
SYNOPSIS
dmesg [-c] [-r] [-n level] [-s bufsize]
DESCRIPTION
dmesg is used to examine or control the kernel ring buffer.
The program helps users to print out their bootup messages. Instead of copying the messages by hand, the user need only:
dmesg > boot.messages
and mail the boot.messages file to whoever can debug their problem.
OPTIONS -c Clear the ring buffer contents after printing.
-r Print the raw message buffer, i.e., don't strip the log level prefixes.
-s bufsize
Use a buffer of size bufsize to query the kernel ring buffer. This is 16392 by default. (The default kernel syslog buffer size was
4096 at first, 8192 since 1.3.54, 16384 since 2.1.113.) If you have set the kernel buffer to be larger than the default then this
option can be used to view the entire buffer.
-n level
Set the level at which logging of messages is done to the console. For example, -n 1 prevents all messages, except panic messages,
from appearing on the console. All levels of messages are still written to /proc/kmsg, so syslogd(8) can still be used to control
exactly where kernel messages appear. When the -n option is used, dmesg will not print or clear the kernel ring buffer.
When both options are used, only the last option on the command line will have an effect.
SEE ALSO syslogd(8)AVAILABILITY
The dmesg command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
DMESG(1)
Check Out this Related Man Page
DMESG(8) System Manager's Manual DMESG(8)NAME
dmesg - print or control the kernel ring buffer
SYNOPSIS
dmesg [ -c ] [ -n level ] [ -s bufsize ]
DESCRIPTION
dmesg is used to examine or control the kernel ring buffer.
The program helps users to print out their bootup messages. Instead of copying the messages by hand, the user need only:
dmesg > boot.messages
and mail the boot.messages file to whoever can debug their problem.
OPTIONS -c Clear the ring buffer contents after printing.
-sbufsize
Use a buffer of size bufsize to query the kernel ring buffer. This is 16392 by default. (The default kernel syslog buffer size was
4096 at first, 8192 since 1.3.54, 16384 since 2.1.113.) If you have set the kernel buffer to be larger than the default then this
option can be used to view the entire buffer.
-nlevel
Set the level at which logging of messages is done to the console. For example, -n 1 prevents all messages, expect panic messages,
from appearing on the console. All levels of messages are still written to /proc/kmsg, so syslogd(8) can still be used to control
exactly where kernel messages appear. When the -n option is used, dmesg will not print or clear the kernel ring buffer.
When both options are used, only the last option on the command line will have an effect.
SEE ALSO syslogd(8)AUTHOR
Theodore Ts'o (tytso@athena.mit.edu)
DMESG(8)
Is there a recognised way of mounting drives/network connections on bootup?
I realise you can do this by adding the mount command to the 'bashrc' file, but for some rearon this does not seem to be the way i would expect you are supposed to do it.
Cheers!
Nic (7 Replies)
Hello,
I just wanted to install a red hat on my pc, it says that it can not find a file! and i should click return! When I click ok or I use esc, it does not work! Just the error page returns!!
and then i formated my pc due to this error :(
plz help me! (13 Replies)
HI, I installed Suse 8.1 on an Emachine with a Cyrix processor equivelent to Pentium II. The dmesg reveals that the floppy was recognised, and there is an icon on the desktop for it, but when I trey to access it, it is not available.
If I access it from a terminal window, the error I get... (7 Replies)
Hi again,
first of all thanks for you help on my last problem, the problem is solved now.
But I have many problem :)
This time, I transfered a big file, ~3,5 GByte, with ftp from a Sun machine to a linux box, RedHat 7.3. But the file recieved on the Linux Box is corrupt, with smaller files... (12 Replies)
Well, I formatted my entire harddrive (40gig), partitioned it into three partitions, FAT32 for WindowsXP (30 gig), Linux ext3 (7gig), and Linux swap (about 500mb). All this with PartitionMagic 8.0 and it took hours. After all that, I installed the "publishers version" of Red Hat with ease. I was on... (12 Replies)
I'm getting a "line too long" error when I try to vi a particular file. I really just need to view the contents as I don't have to change anything. Any suggestions?? I already tried to cat but it didnt work........:( (7 Replies)
i know by posting this people are going to get mad at me but, when i try to download unix for my Windows XP i find a whole bunch of files that i dont know what to do with, so please help, sorry if this has already been posted... or is a stupid question :o (9 Replies)
Dear gentlemen
I faced one problem when i made shutdown to my server AIX pserise/6000
the problem is the console (my console is outside not inside the server) corrupted during shutdown and restart so in this case I have to reinstall the linux in the console to allow me manage LPARS in the... (11 Replies)
Hi folks,
I'm unfortunately only a Solaris/Linux guy and have a problem I can't solve. As part of an assessment of some network security software, I need to perform vulnerability scans and log (syslog event) collection from an AIX box.
So I have a pSeries "B80" in front of me running AIX 5.2... (8 Replies)
Hi all
In a bit of a pickle here and need some help.
I have a 6800, with 2 SC controllers. I have a terminal concentrator ( TC ) attached to the serial ports. I cant ping / telnet these sc controllers, and when on the TC, I cant connect into them either. I am able to telnet to other servers... (21 Replies)
I'm recieving from time to time such messages:
Message from syslogd@localhost at Sat Jul 8 18:29:58 2006 ...
localhost kernel: Disabling IRQ #17
What could cause such messages? How can I at least disable these messages which are posted on all terminals?
Note:
$ uname -a
Linux... (19 Replies)
Okay I'am not using ArchLinux but one of girlfreinds needs it (or it recommend by her work) and she need a desktop - so how do we do so the computer boot up with GUI instead of console ? - I'am a newbie to Arch so I have no idea, is it like SlackWare where you change the inittab file or is it some... (10 Replies)
Hi all,
One of the server is showing empty messages
# logger -p user.error HELLO_SYSLOGD
# dmesg
Mon Apr 23 15:11:19 MYT 2012
/etc/syslog.conf file, i tried copy the conf file from another server, still it is not working
*.err;kern.notice;auth.notice /dev/sysmsg... (8 Replies)
Hi there,
I miss date information when executing # dmesg
Is it possible to add this a date information to my results of # dmesg
?
Best wishes (12 Replies)