2024年4月16日发(作者:)

linux怎么查看内存型号

因为网站开发的需求,需要对单位的服务器内存进行升级。那么在linux中怎么查看

内存型号呢?下面跟着店铺一起来了解一下吧。

linux怎么查看内存型号

机器主板是nVidia Corporation MCP61,系统内存支持双通道内存技术。

配置了4个DDRII DIMM插槽,支持DDRII 800/667/533内存,最大支持8G容

量。

为了尝试下双通道内存技术,准备加一条与原来完全一样的内存条。

电脑配置上只写了kingston DDRII512M。

接下来就要用工具dmidecode(DMI table decoder)确定下内存频率了。

dmidecode命令可以全面的显示你系统的信息,包括bios、cpu、内存等信息。

例如:

[root@localhost testcase]$ sudo dmidecode --help

Usage: dmidecode [OPTIONS]

Options are:

-d, --dev-mem FILE Read memory from device FILE (default: /dev/mem)

-h, --help Display this help text and exit

-q, --quiet Less verbose output

-s, --string KEYWORD Only display the value of the given DMI string

-t, --type TYPE Only display the entries of given type

-u, --dump Do not decode the entries

-V, --version Display the version and exit

[root@localhost testcase]$ sudo dmidecode -t memory

# dmidecode 2.7

SMBIOS 2.4 present.

Handle 0x0007, DMI type 5, 24 bytes.

Memory Controller Information