Usage: dmesg [options] Display or control the kernel ring buffer. Options: -C, --clear clear the kernel ring buffer -c, --read-clear read and clear all messages -D, --console-off disable printing messages to console -E, --console-on enable printing messages to console -F, --file use the file instead of the kernel log buffer -K, --kmsg-file use the file in kmsg format -f, --facility restrict output to defined facilities -H, --human human readable output -J, --json use JSON output format -k, --kernel display kernel messages -L, --color[=] colorize messages (auto, always or never) colors are enabled by default -l, --level restrict output to defined levels -n, --console-level set level of messages printed to console -P, --nopager do not pipe output into a pager -p, --force-prefix force timestamp output on each line of multi-line messages -r, --raw print the raw message buffer --noescape don't escape unprintable character -S, --syslog force to use syslog(2) rather than /dev/kmsg -s, --buffer-size buffer size to query the kernel ring buffer -u, --userspace display userspace messages -w, --follow wait for new messages -W, --follow-new wait and print only new messages -x, --decode decode facility and level to readable string -d, --show-delta show time delta between printed messages -e, --reltime show local time and time delta in readable format -T, --ctime show human-readable timestamp (may be inaccurate!) -t, --notime don't show any timestamp with messages --time-format show timestamp using the given format: [delta|reltime|ctime|notime|iso|raw] Suspending/resume will make ctime and iso timestamps inaccurate. --since