linux 系统版本信息、磁盘信息、硬件信息显示汇总

1.查询系统的内核信息:

# uname -a

2.6.9-78.ELsmp #1 SMP Fri Jul 25 00:04:28 EDT 2008 i686 i686 i386 GNU/Linux

 

2.查询linux 的版本信息:

#lsb_release -a

 

LSB Version:    :core-3.0-ia32:core-3.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch
Distributor ID: CentOS
Description:    CentOS release 4.7 (Final)
Release:        4.7
Codename:       Final

 

以下信息在dmidecode 命令查询到

3.查询linux 的主板型号

 dmidecode |grep "Product Name"

 dmidecode |grep "Manufacturer"

4.查询内存型号

 cat /proc/meminfo

dmidecode |grep "Memory Module Information"

dmidecode |grep "Memory Controller Information"

5.查询硬盘型号和类型等

 cat /proc/scsi/scsi

 

6.查询cpu 型号信息

cat /proc/cpuinfo

 dmidecode |grep "Processor Information"

7.查询网卡型号信息

 ethtool -v

dmesg | grep -i eth

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值