【Linux】管理服务器硬件配置信息的常用命令

lshw可以查看服务器硬件配置的详细信息,可以在支持DMI的x86或者IA-64系统以及power PC 机器上打印内存配置,固件版本,主板配置,cpu版本,cpu频次,缓存,总线速度等信息。

使用方法

[root@ecs-c13b ~]# lshw -help

Hardware Lister (lshw) - B.012.18

usage: lshw [-format] [-options ...]

       lshw -version



	-version        print program version (B.012.18)(查看版本信息)



format can be

	-html           output hardware tree as HTML (将设备树输出信息保存为HTML格式)

	-xml            output hardware tree as XML   (保存为XML格式)

	-json           output hardware tree as a JSON object  (保存为json格式)

	-short          output hardware paths  (输出简短显示硬件路径的设备树信息)

	-businfo        output bus information   (输出总线信息的设备列表)



options can be

	-dump OUTFILE   save hardware tree to a file

	-class CLASS    only show a certain class of hardware

	-C CLASS        same as '-class CLASS'

	-c CLASS        same as '-class CLASS'

	-disable TEST   disable a test (like pci, isapnp, cpuid, etc. )(禁用某些检测)

	-enable TEST    enable a test (like pci, is
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值