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

How to view the hardware resource information in linux

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly explains "how to view the hardware resource information in linux". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "how to view the hardware resource information in linux"!

1. Video card information

Dmesg | grep-I vga

Lspci | grep-I vga / / View video card information

2.dmidecode | grep-I 'serrial number' / / View motherboard information and view motherboard serial number

3.CPU information

# through the / proc file system

Cat / proc/cpuinfo

Dmesg | grep-I cpu

# by viewing boot information

Dmidecode-t processor

4. Hard disk information

Fdisk-l / / Partition

Df-h / / size case

Du-h / / usage

Dmesg | grep sda

5. Memory information

Cat / proc/meminfo

Dmesg | grep mem

Free-m

Vmstat

Dmldecode | grep-I mem

6. Network card information

Dmesg | grep-I eth

Lspci | grep-I eth

7. Mouse, keyboard and USB information

Cat / proc/bus/input/devices view keyboard and mouse

Cat / proc/bus/usb/devices View USB Devices

Cat / proc/interrupts

8. Sound card information

Lspci | grep-I vga

Dmesg | grep-I vga

9. Other commands

Lspci (displays external device information, such as USB, network card, etc.)

At this point, I believe you have a deeper understanding of "how to view the hardware resource information in linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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