hwinfo
command is used to view hardware information, such as cpu
, storage, network card, etc.
Syntax format: hwinfo [parameter]
Common parameters:
Example
# 显示硬件所有信息hwinfo
# 显示硬件的简略信息hwinfo --short
# 精简形式显示cpu信息hwinfo --short --cpu # 将信息存入文件hwinfo --log hw.log
This article is reprinted from https://xugaoxiang.com/2022/07/26/linux-cmds-90-hwinfo/
This site is for inclusion only, and the copyright belongs to the original author.