Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 61623  / 3 Years ago, wed, june 2, 2021, 3:40:05

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?


More From » kernel

 Answers
3

All messages you can see with dmesg are by default written to var/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 or tailf var/log/syslog for "just in time" purposes.



As zwets has just pointed out: /var/log/dmesgcontains the dmesg output collected during system boot.


[#32175] Thursday, June 3, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
igeonlothe

Total Points: 370
Total Questions: 121
Total Answers: 114

Location: United States Minor Outlying Island
Member since Fri, Feb 5, 2021
3 Years ago
;