tldr/pages/linux/dmesg.md
Balázs Úr 6956cd5348 multiple pages: change Unicode characters to ASCII (#2802)
Change Unicode characters to ASCII:

- non-breaking spaces (\xc2\xa0) to normal spaces (\x20)
- apostrophes (there are only 2 Unicode apostrophes, all others are already ASCII)
- hyphen (−) to minus (-)
- fix wording (STD‐OUT to "standard output")
2019-02-24 23:56:24 +00:00

676 B

dmesg

Write the kernel messages to standard output.

  • Show kernel messages:

dmesg

  • Show kernel error messages:

dmesg --level err

  • Show kernel messages and keep reading new ones, similar to tail -f (available in kernels 3.5.0 and newer):

dmesg -w

  • Show how much physical memory is available on this system:

dmesg | grep -i memory

  • Show kernel messages 1 page at a time:

dmesg | less

  • Show kernel messages with a timestamp (available in kernels 3.5.0 and newer):

dmesg -T

  • Show kernel messages in human-readable form (available in kernels 3.5.0 and newer):

dmesg -H

  • Colorize output (available in kernels 3.5.0 and newer):

dmesg -L