1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-10 09:15:44 +02:00
tldr/pages/linux/dmesg.md
Managor ae436c1b00
linux/*: add option placeholders (#16192)
* batch1

* batch2

* batch3

* batch4

* Update matchpathcon.md

* Update pages/linux/arecord.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Update pages/linux/arecord.md

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>

* Update pages/linux/arecord.md

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>

---------

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
2025-04-19 21:21:53 +00:00

36 lines
849 B
Markdown

# dmesg
> Write the kernel messages to `stdout`.
> More information: <https://manned.org/dmesg>.
- Show kernel messages:
`sudo dmesg`
- Show kernel error messages:
`sudo dmesg {{[-l|--level]}} err`
- Show kernel messages and keep reading new ones, similar to `tail --follow` (available in kernels 3.5.0 and newer):
`sudo dmesg {{[-w|--follow]}}`
- Show how much physical memory is available on this system:
`sudo dmesg | grep {{[-i|--ignore-case]}} memory`
- Show kernel messages 1 page at a time:
`sudo dmesg | less`
- Show kernel messages with a timestamp (available in kernels 3.5.0 and newer):
`sudo dmesg {{[-T|--ctime]}}`
- Show kernel messages in human-readable form (available in kernels 3.5.0 and newer):
`sudo dmesg {{[-H|--human]}}`
- Colorize output (available in kernels 3.5.0 and newer):
`sudo dmesg {{[-L|--color]}}`