泓泰

介绍查看linux的网卡型号、主板型号、CPU

admin
介绍查看linux的网卡型号、主板型号、CPU-第1张-游戏相关-泓泰

介绍查【chá】看linux的网卡型【xíng】号、主板型号、CPU、显卡信【xìn】息,硬盘型号等【děng】硬件信息

1. 查看网卡型号

$ lspci | grep Ethernet

输出:

00:05.0 Ethernet controller: Red Hat, Inc. Virtio network device

2. 查看内存

$ free

输出:

total used free shared buff/cache available

Mem: 2046684 213276 285912 308 1547496 1636316

Swap: 1049596 138240 911356

3. 查看CPU

$ cat /proc/cpuinfo

输出:

processor : 0

vendor_id : AuthenticAMD

cpu family : 23

model : 49

model name : AMD EPYC 7K62 48-Core Processor

stepping : 0

microcode : 0x1000065

cpu MHz : 2595.124

cache size : 512 KB

physical id : 0

siblings : 2

core id : 0

cpu cores : 2

apicid : 0

initial apicid : 0

fpu : yes

fpu_exception : yes

cpuid level : 13

wp : yes

4. 查看硬盘型号和硬盘序列号

输出:

$ dmesg | grep ATA

[ 0.000000] NODE_DATA(0) allocated [mem 0x7ffb7000-0x7ffddfff]

[ 1.245351] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xe0c0 irq 14

[ 1.245353] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xe0c8 irq 15

[ 1.399467] ata1.01: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100

$ sudo dmidecode | more

输出:

# dmidecode 3.2

Getting SMBIOS data from sysfs.

SMBIOS 2.8 present.

9 structures occupying 398 bytes.

Table at 0x000F6A20.

Handle 0x0000, DMI type 0, 24 bytes

BIOS Information

Vendor: SeaBIOS

Version: seabios-1.9.1-qemu-project.org

Release Date: 9/21/2024

Address: 0xE8000

Runtime Size: 96 kB

ROM Size: 64 kB

Characteristics:

BIOS characteristics not supported

Targeted content distribution is supported

BIOS Revision: 0.0

Handle 0x0100, DMI type 1, 27 bytes

System Information

Manufacturer: Tencent Cloud

Product Name: CVM

Version: 3.0

Serial Number: 4b54f9bd-f93a-42e8-bf08-3591086edbfc

UUID: 4b54f9bd-f93a-42e8-bf08-3591086edbfc

Wake-up Type: Power Switch

SKU Number: Not Specified

Family: Smdbmds

...

#服务器硬件# #linux服务器y# # linux干货

标签: #dmicfg俢改网卡