View Linux hardware information __linux

Source: Internet
Author: User

1, motherboard information. To view the serial number of the motherboard--------------------------------------------------#使用命令 Dmidecode |  Grep-i ' serial number ' #查看板卡信息 Cat/proc/pci-------------... 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, hard drive information
--------------------------------------------------
#查看分区情况
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 '
--------------------------------------------------
7, 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
8, need to manually install the tool
Lshw,hwinfo,hal-device-manager

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.