mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-11 03:55:31 +03:00
dmesg: add Chinese translation (#5954)
This commit is contained in:
parent
ddf755f355
commit
f2cf84ec29
36
pages.zh/linux/dmesg.md
Normal file
36
pages.zh/linux/dmesg.md
Normal file
@ -0,0 +1,36 @@
|
||||
# dmesg
|
||||
|
||||
> 显示或控制内核环形缓冲区。
|
||||
> 更多信息:<https://manned.org/dmesg>.
|
||||
|
||||
- 显示来自内核环形缓冲区的所有消息:
|
||||
|
||||
`dmesg`
|
||||
|
||||
- 只显示严重错误级别的消息:
|
||||
|
||||
`dmesg --level err`
|
||||
|
||||
- 等待新消息。仅在具有可读性的系统上支持此功能,类似于 `tail -f`(从内核 3.5.0 版本开始):
|
||||
|
||||
`dmesg -w`
|
||||
|
||||
- 显示此系统上有多少物理内存可用:
|
||||
|
||||
`dmesg | grep -i memory`
|
||||
|
||||
- 以分页方式显示内核缓冲区的所有消息:
|
||||
|
||||
`dmesg | less`
|
||||
|
||||
- 打印人类可读的时间戳(从内核 3.5.0 版本开始):
|
||||
|
||||
`dmesg -T`
|
||||
|
||||
- 启用人类可读的输出:
|
||||
|
||||
`dmesg -H`
|
||||
|
||||
- 着色输出:
|
||||
|
||||
`dmesg -L`
|
Loading…
Reference in New Issue
Block a user