How to view hardware information in Linux

Source: Internet
Author: User

1. lshw

The lshw command displays detailed hardware information. If you want to display it in the summary mode, you can add the short parameter: lshw-short

To display the specified hardware information, add the class or C parameter: lshw-class memory

2. sysstat

3. View PCI information: lspci-v is more intuitive than cat/proc/pci ). Lspci reads the hwdata database, which is provided by the software package hwdata.

4. view the system architecture: uname-

5. dmidecode: View hardware information, including bios, cpu, and memory information.

6. dmesg is a tool that displays kernel buffer system control information. For example, information about the system at startup is written to/var/log /.

Note: The dmesg tool is not used to view the hardware chipset ID, but it allows us to know some hardware parameters in the machine, write hardware-related logs to the/var/log/message * Or/var/log/boot * file.

7. lshal and hal-device-manager

8. View/proc

For files in "/proc", you can use the File View command to browse its content. The file contains system-specific information:

CPU info host CPU Information

Dma host DMA channel information

Filesystems File System Information

Interrupts host interruption Information

Ioprots host I/O port number information

Meninfo host memory information

Version Linux memory Version

View CPU information: cat/proc/cpuinfo

View Board information: cat/proc/pci

View memory information: cat/proc/meminfo

View USB devices: cat/proc/bus/usb/devices

View the keyboard and mouse: cat/proc/bus/input/devices

View the interrupt request IRQ of each device): cat/proc/interrupts

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.