View ubuntu hardware information 1, Motherboard information. view the serial number of the motherboard # use the command dmidecode | grep-iserialnumber # View board information cat/proc/pci -------------------------------
View ubuntu hardware information
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