DMESG(1) DMESG(1) dmesg - . dmesg [] dmesg --clear dmesg --read-clear [] dmesg --console-level dmesg --console-on dmesg --console-off dmesg . . --clear, --read-clear, --console-on, --console-off --console-level . -C, --clear . -c, --read-clear , . -D, --console-off . -d, --show-delta . --notime, . -E, --console-on . -e, --reltime . , (. -T, ). -F, --file syslog . , -F kmsg. -K. -f, --facility ( ) . : dmesg --facility=daemon . , --help. -H, --human . . --color, --reltime --nopager. -J, --json JSON. <<.>>, ( --decode, ), . -K, --kmsg-file Read the /dev/kmsg messages from the given file. Different record as expected to be separated by a NULL byte. -k, --kernel . -L, --color[=] . auto, never always. , auto. . --help. . . -l, --level ( ) . : dmesg --level=err,warn . , --help. Appending a plus + to a level name also includes all higher levels. For example: dmesg --level=err+ will print levels err, crit, alert and emerg. Prepending it will include all lower levels. -n, --console-level , . . , --help. , -n 1 -n emerg , () . /proc/kmsg, syslogd(8) , . -n, dmesg . --noescape (, , ) \x< > . . , , --raw. , . -P, --nopager . --human. -p, --force-prefix , . -r, --raw , , (. --noescape). , , dmesg . /dev/kmsg , syslog(2). , dmesg syslog(2). /dev/kmsg , , <
>. -S, --syslog dmesg syslog(2) . /dev/kmsg, syslog(2), 3.5.0. -s, --buffer-size . 16392. ( syslog 4096, 8192 1.3.54, 16384 2.1.113.) , , . -T, --ctime . ', ! , , / . - , . --since , . . , ( <<1 hour ago>>). , . --ctime. --until . . , ( <<1 hour ago>>). , . --ctime. -t, --notime . --time-format , ctime, reltime, delta, iso raw. . raw , . iso dmesg ISO-8601. . iso : --::,<><-+>< UTC>. iso , ctime: , , . --time-format may be used multiple times with different values for format to output each specified format. The delta always follows ctime or raw if specified together. -u, --userspace . -w, --follow . /dev/kmsg ( 3.5.0). -W, --follow-new . -x, --decode () . -h, --help . -V, --version . terminal-colors.d(5). /etc/terminal-colors.d/{}.disable {} /etc/terminal-colors.d/disable Since version 2.41, the $NO_COLOR environment variable is also supported to disable output colorization unless explicitly enabled by a command-line option. $XDG_CONFIG_HOME/terminal-colors.d $HOME/.config/terminal-colors.d . , terminal-colors.d . , dmesg, : subsys (, <>). time . timebreak ctime --reltime --human. alert . crit . err . warn . segfault , . dmesg , ' . , dmesg_restrict. , syslog(2), . Karel Zak dmesg Theodore Ts'o . terminal-colors.d(5), syslogd(8) dmesg util-linux, Linux . util-linux 2.41 2025-03-29 DMESG(1)