1, motherboard information-View the serial number of the motherboard
Using commands
Dmidecode | Grep-i ' Serial number '
View board Information
Cat/proc/pci
2, CPU information
Through the/proc file system
1) Cat/proc/cpuinfo
By viewing the boot information
2) DMESG | Grep-i ' CPU '
3) DMIDECODE-T processor
3, hard disk information
View partitions
fdisk-l
View size
df-h
View usage
du-h
hdparm-i/dev/sda
DMESG | grep SDA
View IDE Hard disk information: sudo hdparm-i/dev/hda
View SATA Hard drive information: sudo hdparm-i/dev/sda or sudo blktool/dev/sda ID
4, Memory information
1) C At/proc/meminfo
2) DMESG | grep mem
3) free-m
4) Vmstat #Report virtual Memory Statistics
5) Dmidecode | Grep-i Mem
5, Nic information
1) dmesg | grep-i ' ETH '
2) cat/etc/sysconfig/hwconf | grep-i ETH
3) lspci | grep-i ' ETH '
6, mouse keyboard and USB information
View keyboard and mouse: cat/proc/bus/input/devices
View USB device: Cat/proc/bus/usb/devices
View Interrupt Request (IRQ) for each device: cat/proc/interrupts
7, video card information
1) lspci |grep-i ' VGA '
2) dmesg | grep-i ' VGA '
8, sound card information br>1) lspci |grep-i ' VGA '
2) DMESG | Grep-i ' VGA '
7, other commands
Detecting new hardware with hardware detection program Kuduz: Service kudzu start (or restart)
DMESG (View all hardware information detected at startup)
LSPCI (display peripheral information, such as USB, NIC, etc.)
Cat/etc/sysconfig/hwconf
Mpstat
View PCI devices: LSPCI
View USB devices: Lsusb-v
View NIC status: Sudo ethtool eth0
View CPU Information: Cat/proc/cpuinfo
Display current hardware information: sudo lshw
Linux Hardware Information Query command summary