1. motherboard Information
. View the serial number of the motherboard
--------------------------------------------------
# Use commands
Dmidecode | grep-I 'serial number'
# View Board information
CAT/proc/PCI
--------------------------------------------------
2. CPU Information
--------------------------------------------------
# Use the/proc file system
1) CAT/proc/cpuinfo
# View the boot Information
2) dmesg | grep-I 'cpu'
#
3) dmidecode-T Processor
--------------------------------------------------
3. Hard Disk Information
--------------------------------------------------
# View partition information
Fdisk-l
# View the size
DF-H
# View usage
Du-H
#
Hdparm-I/dev/SDA
#
Dmesg | grep SDA
--------------------------------------------------
4. Memory Information
--------------------------------------------------
1) CAT/proc/meminfo
2) dmesg | grep mem
3) Free-m
4) vmstat
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 the keyboard and mouse: CAT/proc/bus/input/devices
View USB devices: CAT/proc/bus/USB/devices
View interrupt requests of each device (IRQ): CAT/proc/interrupts
7. video card information
--------------------------------------------------
1) lspci | grep-I 'vga'
2) dmesg | grep-I 'vga'
--------------------------------------------------
8. Sound card information
--------------------------------------------------
1) lspci | grep-I 'vga'
2) dmesg | grep-I 'vga'
--------------------------------------------------
7. Other commands
Use the hardware detection program kuduz to detect the new hardware: Service kudzu start (or restart)
. Dmesg (view all hardware information detected at startup)
. Lspci (display peripheral information, such as USB and nic)
. CAT/etc/sysconfig/hwconf
. Mpstat
8. Tools to be manually installed
Lshw, hwinfo, Hal-device-Manager