tldr/pages/linux/dmesg.md

20 lines
363 B
Markdown
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

# dmesg
> Write the kernel messages to standard output.
- Show kernel messages:
`dmesg`
- 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`