当前位置:首页 > linux > 正文

linux查询设备型号(linux看设备型号)

  • linux
  • 2024-03-20 10:37:14
  • 4193
Linux 查询设备型号
常用命令:
lspci
lsusb
dmidecode
举例几个要素:
### lspci
Vendor: 设备制造商。
Device: 设备型号。
Class: 设备类别(例如,网络控制器、显示控制器)。
SubClass: 设备子类别(例如,以太网控制器、显卡)。
Bus: 设备连接的总线。
Slot: 设备在总线上的插槽号。
$ lspci -nn | grep VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 630 [8086:591e] (rev 04)
### lsusb
Vendor: 设备制造商。
Product: 设备型号。
Bus: 设备连接的总线。
Device: 设备在总线上的设备号。
$ lsusb | grep Mouse
Bus 002 Device 023: ID 046d:c53c Logitech, Inc. M510 Wireless Mouse
### dmidecode
System Manufacturer: 系统制造商。
System Product Name: 系统型号。
Base Board Manufacturer: 主板制造商。
Base Board Product Name: 主板型号。
Processor: 处理器型号。
Memory Device: 内存模块型号。
$ dmidecode -t 1
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.1.1 pre sent.
Handle 0x0039, DMI type 1, 24 bytes
BIOS Information
Vendor: Dell Inc.
Version: 1.11.0
Release Date: 06/09/2017