dmesg

From RaySoft

dmesg is used to examine or control the kernel ring buffer.[1]

Documentation

Syntax

dmesg [PARAMETER ...]

Parameters

-c, --read-clear
Clear the ring buffer after first printing its contents.
-d, --show-delta
Display the timestamp and the time delta spent between messages. If used together with --notime then only the time delta without the timestamp is printed.
-e, --reltime
Display the local time and the delta in human-readable format. Be aware that conversion to the local time could be inaccurate (see -T for more details).
-L [WHEN], --color[=WHEN]
Colorize the output. The optional argument WHEN can be auto, never or always. If the WHEN argument is omitted, it defaults to auto.
-n LIST, --level LIST
Restrict output to the given (comma-separated) LIST of levels. For all supported levels see the --help output.
-t, --notime
Do not print kernel's timestamps.
-T, --ctime
Print human-readable timestamps.

Examples

Show the delays during the booting
dmesg --show-delta --color='always' | less -R

References

  1. man 1 'dmesg'