.檢視主機闆的序列号
--------------------------------------------------
#使用指令
dmidecode | grep -i 'serial number'
#檢視闆卡資訊
cat /proc/pci
2, cpu資訊
1) cat /proc/cpuinfo
#通過檢視開機資訊
2) dmesg | grep -i 'cpu'
#
3)dmidecode -t processor
3, 硬碟資訊
#檢視分區情況
fdisk -l
#檢視大小情況
df -h
#檢視使用情況
du -h
hdparm -I /dev/sda
dmesg | grep sda
4, 記憶體資訊
1) cat /proc/meminfo
2) dmesg | grep mem
3) free -m
4) vmstat
5) dmidecode | grep -i mem
5, 網卡資訊
1) dmesg | grep -i 'eth'
2) cat /etc/sysconfig/hwconf | grep -i eth
3) lspci | grep -i 'eth'
6, 滑鼠鍵盤和USB資訊
檢視鍵盤和滑鼠:cat /proc/bus/input/devices
檢視USB裝置:cat /proc/bus/usb/devices
檢視各裝置的中斷請求(IRQ):cat /proc/interrupts
7, 顯示卡資訊
1)lspci |grep -i 'VGA'
2)dmesg | grep -i 'VGA'
8, 聲霸卡資訊
7, 其他指令
.dmesg (檢視所有啟動時檢測到的硬體資訊)
.lspci (顯示外設資訊, 如usb,網卡等資訊)
.cat /etc/sysconfig/hwconf
.mpstat
8, 需要手動安裝的工具
lshw,hwinfo,hal-device-manager