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"
9. Other Linux hardware information 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
10. Tools to be manually installed
Lshw, hwinfo, hal-device-manager
The above are some Linux hardware information commands that can view the hardware information of machines under characters.
This article is from: Rootexp blog