導航:首頁 > 操作系統 > linux內存插槽

linux內存插槽

發布時間:2023-11-26 06:17:37

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, --mp Do not decode the entries

-V, --version Display the version and exit

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

# dmidecode 2.7

SM BIOS 2.4 present.

Handle 0x0007, DMI type 5, 24 bytes.

Memory Controller Information

Error Detecting Method: 64-bit ECC

Error Correcting Capabilities:

None

Supported Interleave: One-way Interleave

Current Interleave: One-way Interleave

Maximum Memory Mole Size: 2048 MB

Maximum Total Memory Size: 8192 MB

Supported Speeds:

70 ns

60 ns

Supported Memory Types:

DIMM

SDRAM

Memory Mole Voltage: 3.3 V

Associated Memory Slots: 4

0x0008

0x0009

0x000A

0x000B

Enabled Error Correcting Capabilities:

None

Handle 0x0008, DMI type 6, 12 bytes.

Memory Mole Information

Socket Designation: DIMM0

Bank Connections: 0 1

Current Speed: Unknown

Type: ECC DIMM

Installed Size: 512 MB (Single-bank Connection)

Enabled Size: 512 MB (Single-bank Connection)

Error Status: OK

Handle 0x0009, DMI type 6, 12 bytes.

Memory Mole Information

Socket Designation: DIMM1

Bank Connections: None

Current Speed: Unknown

Type: Unknown

Installed Size: Not Installed

Enabled Size: Not Installed

Error Status: OK

Handle 0x000A, DMI type 6, 12 bytes.

Memory Mole Information

Socket Designation: DIMM2

Bank Connections: None

Current Speed: Unknown

Type: Unknown

Installed Size: Not Installed

Enabled Size: Not Installed

Error Status: OK

Handle 0x000B, DMI type 6, 12 bytes.

Memory Mole Information

Socket Designation: DIMM3

Bank Connections: None

Current Speed: Unknown

Type: Unknown

Installed Size: Not Installed

Enabled Size: Not Installed

Error Status: OK

Handle 0x0010, DMI type 16, 15 bytes.

Physical Memory Arroot

Location: System Board Or Motherboard

Use: System Memory

Error Correction Type: None

Maximum Capacity: 8 GB

Error Information Handle: Not Provided

Number Of Devices: 4

Handle 0x0012, DMI type 17, 27 bytes.

Memory Device

Arroot Handle: 0x0010

Error Information Handle: Not Provided

Total Width: 64 bits

Data Width: 72 bits

Size: 512 MB

Form Factor: DIMM

Set: None

Locator: DIMM0

Bank Locator: BANK0

Type: DDR2

Type Detail: Synchronous

Speed: 533 MHz (1.9 ns)

Manufacturer: Manufacturer0

Serial Number: SerNum0

Asset Tag: AssetTagNum0

Part Number: PartNum0

Handle 0x0014, DMI type 17, 27 bytes.

Memory Device

Arroot Handle: 0x0010

Error Information Handle: Not Provided

Total Width: Unknown

Data Width: 64 bits

Size: No Mole Installed

Form Factor: DIMM

Set: None

Locator: DIMM1

Bank Locator: BANK1

Type: Unknown

Type Detail: Unknown

Speed: Unknown

Manufacturer: Manufacturer1

Serial Number: SerNum1

Asset Tag: AssetTagNum1

Part Number: PartNum1

Handle 0x0016, DMI type 17, 27 bytes.

Memory Device

Arroot Handle: 0x0010

Error Information Handle: Not Provided

Total Width: Unknown

Data Width: 64 bits

Size: No Mole Installed

Form Factor: DIMM

Set: None

Locator: DIMM2

Bank Locator: BANK2

Type: Unknown

Type Detail: Unknown

Speed: Unknown

Manufacturer: Manufacturer2

Serial Number: SerNum2

Asset Tag: AssetTagNum2

Part Number: PartNum2

Handle 0x0018, DMI type 17, 27 bytes.

Memory Device

Arroot Handle: 0x0010

Error Information Handle: Not Provided

Total Width: Unknown

Data Width: 64 bits

Size: No Mole Installed

Form Factor: DIMM

Set: None

Locator: DIMM3

Bank Locator: BANK3

Type: Unknown

Type Detail: Unknown

Speed: Unknown

Manufacturer: Manufacturer3

Serial Number: SerNum3

Asset Tag: AssetTagNum3

Part Number: PartNum3

總結 :

在Memory Controller Information中,可以看到最大的內存大小是8G,支持內存種類為DIMM和SDRAM。有四個Memory Slots。對應接下來的4個Memory Mole Information。

DMI type 16 (man dmidecode裡面有DMI TYPES specification)的意思是 Physical Memory Arroot。

❷ linux如何查看內存信息

查看內存信息(顯示插槽個數和每個插槽里內存條的大小)
dmidecode -t memory | grep Size

查看內存條廠家
dmidecode -t memory | grep Manufacturer

free 查看當前內存使用情況

❸ linux中查看物理內存和配置空間的命令是什麼

linux中查看物理內存的命令是:dmidecode -t memory | grep Size。(如果沒有安裝dmidecode 需要先執行yum -y install dmidecode)

物理內存是沒辦法配置的,只能配置虛擬內存,在Linux系統即Swap分區,查看Swap分區的命令是:free -k 或者 free -m。m代表以MB為單位,k代表以KB為單位。


(3)linux內存插槽擴展閱讀

dmidecode命令介紹

使用方法:

dmidecode [OPTIONS]

參數介紹:

-d, --dev-mem FILE 從設備文件讀取內存(默認: /dev/mem)

-h, --help顯示此幫助文本並退出。

-q, --quiet 減少詳細輸出。

-t, --type TYPE 僅顯示給定類型的條目。

-V, --version 查看版本號。

閱讀全文

與linux內存插槽相關的資料

熱點內容
如何蘋果手機app不要自動更新 瀏覽:977
pythonflask路線教程 瀏覽:256
程序員職業有哪些好處 瀏覽:711
大都會軟體app如何掃碼 瀏覽:436
單片機0x38 瀏覽:756
程序員浪漫工作 瀏覽:329
php幾分鍾前 瀏覽:308
項目編譯及運行 瀏覽:894
程序員的基本功 瀏覽:522
遺傳演算法排班 瀏覽:289
如何加密金融安全網 瀏覽:30
家裡的wifi太卡了怎麼樣自己加密 瀏覽:233
華為鏈路聚合命令 瀏覽:426
apache自動運行php 瀏覽:519
485和單片機 瀏覽:975
xp修復系統命令 瀏覽:520
微你app怎麼加好友 瀏覽:796
程序員轉正 瀏覽:211
應用隱私加密忘記密碼怎麼辦 瀏覽:685
2g視頻怎麼壓縮 瀏覽:611