Files
tldr/pages.zh/linux/dmidecode.md

29 lines
500 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# dmidecode
> 以人类可读的格式显示 DMI又称 SMBIOS表的内容。
> 需要 root 权限。
> 更多信息:<https://manned.org/dmidecode>。
- 显示所有 DMI 表内容:
`sudo dmidecode`
- 显示 BIOS 版本:
`sudo dmidecode -s bios-version`
- 显示系统的序列号:
`sudo dmidecode -s system-serial-number`
- 显示 BIOS 信息:
`sudo dmidecode -t bios`
- 显示 CPU 信息:
`sudo dmidecode -t processor`
- 显示内存信息:
`sudo dmidecode -t memory`