Intermediate
Package: util-linux
dmesg
Print kernel ring buffer messages.
Syntax
dmesg [options]
Description
dmesg shows messages from the kernel itself — hardware detection, driver errors, out-of-memory events — which is often the first place to look for boot problems or hardware faults.
Examples
dmesg | less
Page through the full kernel message buffer
dmesg -T
Show human-readable timestamps instead of seconds-since-boot
dmesg --level=err,crit
Show only error and critical severity messages