linux查看内存是ddr3,linux查看具体内存信息

1.主板支持最大内存

# dmidecode |grep "Maximum Capacity"

Maximum Capacity: 128 GB

2.现有内存

# dmidecode |grep "Range Size"

Range Size: 3328 MB

Range Size: 13056 MB

3.内存具体信息

# dmidecode |grep -A16 "Memory Device$" //查看Memory Device$后面16行内容

或dmidecode -t 17 //17对应内存设备。具体数字对应什么设备,请参照附录

Memory Device

Array Handle: 0x1000

Error Information Handle: Not Provided

Total Width: 72 bits

Data Width: 64 bits

Size: 4096 MB

Form Factor: DIMM

Set: 1

Locator: DIMM_A1

Bank Locator: Not Specified

Type: DDR3

Type Detail: Synchronous

Speed: 1333 MHz

Manufacturer: 00AD04B380AD

Serial Number: 468BC44D

Asset Tag: 01123321

Part Number: HMT351R7CFR8A-H9

--

Memory Device

Array Handle: 0x1000

Error Information Handle: Not Provided

Total Width: 72 bits

Data Width: 64 bits

Size: 4096 MB

Form Factor: DIMM

Set: 1

Locator: DIMM_A2

Bank Locator: Not Specified

Type: DDR3

Type Detail: Synchronous

Speed: 1333 MHz

Manufacturer: 00AD04B380AD

Serial Number: 462BC44F

Asset Tag: 01123321

Part Number: HMT351R7CFR8A-H9

--

Memory Device

Array Handle: 0x1000

Error Information Handle: Not Provided

Total Width: 72 bits

Data Width: 64 bits

Size: No Module Installed

Form Factor: DIMM

Set: 2

Locator: DIMM_A3

Bank Locator: Not Specified

Type: DDR3

Type Detail: Synchronous

Speed: Unknown

Manufacturer:

Serial Number:

Asset Tag:

Part Number:

--

Memory Device

Array Handle: 0x1000

Error Information Handle: Not Provided

Total Width: 72 bits

Data Width: 64 bits

Size: No Module Installed

Form Factor: DIMM

Set: 2

Locator: DIMM_A4

Bank Locator: Not Specified

Type: DDR3

Type Detail: Synchronous

Speed: Unknown

Manufacturer:

Serial Number:

Asset Tag:

Part Number:

--

Memory Device

Array Handle: 0x1000

Error Information Handle: Not Provided

Total Width: 72 bits

Data Width: 64 bits

Size: 4096 MB

Form Factor: DIMM

Set: 5

Locator: DIMM_B1

Bank Locator: Not Specified

Type: DDR3

Type Detail: Synchronous

Speed: 1333 MHz

Manufacturer: 00AD04B380AD

Serial Number: 461BC44F

Asset Tag: 01123321

Part Number: HMT351R7CFR8A-H9

--

Memory Device

Array Handle: 0x1000

Error Information Handle: Not Provided

Total Width: 72 bits

Data Width: 64 bits

Size: 4096 MB

Form Factor: DIMM

Set: 6

Locator: DIMM_B2

Bank Locator: Not Specified

Type: DDR3

Type Detail: Synchronous

Speed: 1333 MHz

Manufacturer: 00AD04B380AD

Serial Number: 464BC440

Asset Tag: 01123321

Part Number: HMT351R7CFR8A-H9

--

Memory Device

Array Handle: 0x1000

Error Information Handle: Not Provided

Total Width: 72 bits

Data Width: 64 bits

Size: No Module Installed

Form Factor: DIMM

Set: 6

Locator: DIMM_B3

Bank Locator: Not Specified

Type: DDR3

Type Detail: Synchronous

Speed: Unknown

Manufacturer:

Serial Number:

Asset Tag:

Part Number:

--

Memory Device

Array Handle: 0x1000

Error Information Handle: Not Provided

Total Width: 72 bits

Data Width: 64 bits

Size: No Module Installed

Form Factor: DIMM

Set: 4

Locator: DIMM_B4

Bank Locator: Not Specified

Type: DDR3

Type Detail: Synchronous

Speed: Unknown

Manufacturer:

Serial Number:

Asset Tag:

Part Number:

size不为空的,即插有内存的。这边可以看到,机子上插了4根4G内存,类型为DDR3,频率为133。

附录:

# dmidecode -t type //type可以为数字或数字后面的单词,如system,baseboard等,具体单词可以通过dmidecode -t --help查看。

0 BIOS

1 System

2 BaseBoard

3 Chassis

4 Processor

5 Memory Controller

6 Memory Module

7 Cache

8 Port Connector

9 System Slots

10 On Board Devices

11 OEM Strings

12 System Configuration Options

13 BIOS Language

14 Group Associations

15 System Event Log

16 Physical Memory Array

17 Memory Device

18 32-bit Memory Error

19 Memory Array Mapped Address

20 Memory Device Mapped Address

21 Built-in Pointing Device

22 Portable Battery

23 System Reset

24 Hardware Security

25 System Power Controls

26 Voltage Probe

27 Cooling Device

28 Temperature Probe

29 Electrical Current Probe

30 Out-of-band Remote Access

31 Boot Integrity Services

32 System Boot

33 64-bit Memory Error

34 Management Device

35 Management Device Component

36 Management Device Threshold Data

37 Memory Channel

38 IPMI Device

39 Power Supply

Post Views:

1

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值