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

 

你可能感兴趣的:(linux 系统版本信息、磁盘信息、硬件信息显示汇总)