In order to display the messages loaded into a kernel module, I can use the command
dmesg
Is there any alternatives for this command? How this function gets all these kernel messages?
dmesgkernel
In order to display the messages loaded into a kernel module, I can use the command
dmesg
Is there any alternatives for this command? How this function gets all these kernel messages?
Best Answer
All messages you can see with
dmesg
are by default written tovar/log/syslog
as well. So you can look through this log file with any tool you like.I use
less var/log/syslog
for reading it later ortailf var/log/syslog
for "just in time" purposes.As zwets has just pointed out:
/var/log/dmesg
contains the dmesg output collected during system boot.