How to add message that will be read with dmesg?
Posted
by calandoa
on Server Fault
See other posts from Server Fault
or by calandoa
Published on 2010-05-10T18:24:49Z
Indexed on
2010/05/10
18:34 UTC
Read the original article
Hit count: 353
I am trying to write some custom messages in my dmesg output. I tried:
logger "Hello"
but this does not work. It exits without error, but no "Hello" appears int the output of:
dmesg
I am using a Fedora 9, and it seems that there is no syslogd/klogd daemon running. However, all my kernel messages are succesfully written in the dmesg buffer.
Any idea?
© Server Fault or respective owner