[NTLUG:Discuss] dmesg
George Lass
George.Lass at osc.com
Fri Dec 14 09:27:07 CST 2001
The file /var/log/dmesg is actually the output of the "dmesg" command
which is executed just after bootup from /etc/rc.d/rc.sysinit:
dmesg > /var/log/dmesg
And thus contains only messages generated when the system boots.
After the system is up and running, messages continue to be looged
to ?????? and can be viewed with the dmesg command. For example,
NIC errors from my 3c595 card tend to show up there. One that I
get is generated by /usr/src/linux/drivers/net/3c59x.c:
printk(KERN_DEBUG"%s: Transmit error, Tx status register
%2.2x.\n",dev->name,tx_status);
These messages do not show up in /var/log/messages.
George
More information about the Discuss
mailing list