Usage:
# dmesg [option] – print or control the kernel ring buffer
Commonly use options:
Timestamp
-T
Levels
--level=err,crit
Other levels:
emerg – system is unusable
alert – action must be taken immediately
crit – critical conditions
err – error conditions
warn – warning conditions
notice – normal but significant condition
info – informational
debug – debug-level messages
Example:
# dmesg -T --level=err,crit | grep -i eth3