mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 20:02:09 +02:00

* as suggested in #10428 * standard input => `stdin` * standard output => `stdout` * standard error => `stderr` Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
36 lines
717 B
Markdown
36 lines
717 B
Markdown
# dmesg
|
|
|
|
> Write the kernel messages to `stdout`.
|
|
> More information: <https://manned.org/dmesg>.
|
|
|
|
- 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`
|