帮助中心

这里有最新的使用文档和教程

< 返回

linux系统如何查看内存型号

2023-07-26 21:31 作者:31IDC 阅读量:2192 所属分类:Linux系统

linux系统如何查看内存型号

在Linux系统中,您可以使用以下命令来查看内存型号:

 

```

sudo dmidecode -t 17

```

 

这个命令将会显示您系统中安装的所有内存模块的详细信息,包括制造商、型号、序列号、容量、速度等。请注意,您需要具有sudo权限才能运行这个命令。

 

如果您只需要查看内存的总容量,可以使用以下命令:

 

```

free -h

```

 

这个命令将会显示您系统中所有内存的总容量、已使用的容量、可用的容量等信息,但不包括内存模块的详细信息。

 

$ sudo dmidecode -t memory

执行后显示如下:

# dmidecode 3.0

Getting SMBIOS data from sysfs.

SMBIOS 3.0.0 present.

 

Handle 0x003D, DMI type 16, 23 bytes

Physical Memory Array

    Location: System Board Or Motherboard

    Use: System Memory

    Error Correction Type: None

    Maximum Capacity: 64 GB

    Error Information Handle: Not Provided

    Number Of Devices: 4

 

Handle 0x003E, DMI type 17, 40 bytes

Memory Device

    Array Handle: 0x003D

    Error Information Handle: Not Provided

    Total Width: Unknown

    Data Width: Unknown

    Size: No Module Installed

    Form Factor: Unknown

    Set: None

    Locator: ChannelA-DIMM0

    Bank Locator: BANK 0

    Type: Unknown

    Type Detail: None

    Speed: Unknown

    Manufacturer: Not Specified

    Serial Number: Not Specified

    Asset Tag: Not Specified

    Part Number: Not Specified

    Rank: Unknown

    Configured Clock Speed: Unknown

    Minimum Voltage: Unknown

    Maximum Voltage: Unknown

    Configured Voltage: Unknown

 

Handle 0x003F, DMI type 17, 40 bytes

Memory Device

    Array Handle: 0x003D

    Error Information Handle: Not Provided

    Total Width: Unknown

    Data Width: Unknown

    Size: No Module Installed

    Form Factor: Unknown

    Set: None

    Locator: ChannelA-DIMM1

    Bank Locator: BANK 1

    Type: Unknown

    Type Detail: None

    Speed: Unknown

    Manufacturer: Not Specified

    Serial Number: Not Specified

    Asset Tag: Not Specified

    Part Number: Not Specified

    Rank: Unknown

    Configured Clock Speed: Unknown

    Minimum Voltage: Unknown

    Maximum Voltage: Unknown

    Configured Voltage: Unknown

 

Handle 0x0040, DMI type 17, 40 bytes

Memory Device

    Array Handle: 0x003D

    Error Information Handle: Not Provided

    Total Width: 64 bits

    Data Width: 64 bits

    Size: 4096 MB

    Form Factor: DIMM

    Set: None

    Locator: ChannelB-DIMM0

    Bank Locator: BANK 2

    Type: DDR4

    Type Detail: Synchronous

    Speed: 2133 MHz

    Manufacturer: Kingston

    Serial Number: 03189BB9

    Asset Tag: 9876543210

    Part Number: 9905665-017.A00G    

    Rank: 1

    Configured Clock Speed: 2133 MHz

    Minimum Voltage: 1.2 V

    Maximum Voltage: 1.2 V

    Configured Voltage: 1.2 V

 

Handle 0x0041, DMI type 17, 40 bytes

Memory Device

    Array Handle: 0x003D

    Error Information Handle: Not Provided

    Total Width: Unknown

    Data Width: Unknown

    Size: No Module Installed

    Form Factor: Unknown

    Set: None

    Locator: ChannelB-DIMM1

    Bank Locator: BANK 3

    Type: Unknown

    Type Detail: None

    Speed: Unknown

    Manufacturer: Not Specified

    Serial Number: Not Specified

    Asset Tag: Not Specified

    Part Number: Not Specified

    Rank: Unknown

    Configured Clock Speed: Unknown

    Minimum Voltage: Unknown

    Maximum Voltage: Unknown

    Configured Voltage: Unknown

 

从中可以看出内存只插了一个,型号为金士顿 DDR4 2133MHz 4G

Type: DDR4

    Type Detail: Synchronous

    Speed: 2133 MHz

    Manufacturer: Kingston

 

31IDC - 12 年深耕海外 IDC 高端资源