This article describes, under Linux to view the hardware information commands and methods, including the motherboard serial number, CPU information, memory information, hard disk information, network card information.
1, motherboard information. View the motherboard serial number #使用命令
Dmidecode | Grep-i ' Serial number '
#查看板卡信息
Cat/proc/pci
2,CPU Information #通过/proc File system
1) Cat/proc/cpuinfo
#通过查看开机信息
2) DMESG | Grep-i ' CPU '
#
3) DMIDECODE-T processor
3, in the Linux system to view the hard disk information, commonly used commands for FDISK,DF,DU,HDPARM,DMESG. #查看分区情况
Fdisk-l
#查看大小情况
Df-h
#查看使用情况
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, network card 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
Viewing USB devices: Cat/proc/bus/usb/devices
To view interrupt requests (IRQ) for each device: cat/proc/interrupts
7, Graphics 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 orders Detection of new hardware using hardware detection program Kuduz: Service kudzu start (or restart)
. DMESG (View all hardware information that was detected at startup)
. LSPCI (Display peripheral information, such as USB, NIC, etc.)
. cat/etc/sysconfig/hwconf
. mpstat
10, need to manually install the tool Lshw,hwinfo,hal-device-manager
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.