Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of viewing hardware Information in Linux

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "the method of Linux viewing hardware information". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

1. Lshw

The lshw command displays detailed hardware information. If you want to display it in 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. Check out the PCI information: lspci-v (more intuitive than cat / proc/pci). Lspci reads the hwdata database, and hwdata is provided by the software package hwdata.

4. View the system architecture: uname-a

5. Dmidecode views hardware information, including bios, cpu, memory, etc.

6. Dmesg is a tool for displaying kernel buffer system control information; for example, the system information at startup is written to / var/log/.

Note: the dmesg tool is not specifically used to view the hardware chipset identification, but through this tool we can know some parameters of the hardware in the machine, because the system will write some hardware-related logs to the / var/log/message* or / var/log/boot* file when booting.

7. Lshal and hal-device-manager

8. View / proc

Files in "/ proc" can be browsed using the file view command, which contains system-specific information:

Cpuinfo host CPU information

Dma host DMA tunnel information

Filesystems file system information

Interrupts host interrupt information

Ioprots host IZP O port number information

Meninfo host memory information

Version Linux memory version information

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 keyboard and mouse: cat / proc/bus/input/devices

View interrupt requests (IRQ) for each device: cat / proc/interrupts

This is the end of the content of "how to view hardware information on Linux". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report