linux系統查看內存
① linux下如何查看伺服器物理內存狀況
查看內存使用情況,可以使用命令free敗鬧-m
其結果大致如下:
Mem:32108306811426012321165
-/+buffers/cache:939222715
Swap:34287126233025
在第一部分Mem行中有如下參數:
*total:內存總數,即32108MB
*used:已經使用的內存數,即30681MB
*free:空閑的內存數:即1426MB
*shared:當前已廢棄不用,總是0
*buffersBuffer:緩存內存數,即舉枯汪123MB
*cachedPage:緩存內存數,即421MB
其中,內存總數與已經使用內存數和空閑內存數的關系是:
total(32108)=used(30681)+free(1426)
在第二部分內容(-/+buffers/cache)中個參數如下所示:
(-buffers/cache):真正使用的內存數,即9392M,他指的是第一部分的used-buffers-cached
(+buffers/cache):可用的內存數,即22715M,他指的是第一部分的free+buffers+cached
其含義可以理解為:-buffers/cached反映的是被程序實實在在正仔用掉的內存,而+buffers/cached反映的是可以被使用(或者說挪用)的內存總數。
② linux怎麼查看內存大小,linux怎麼查看內存使用情況
1."linux怎麼查看內存,為您提供linux怎麼查看內存圖文信息,使用cat/proc/meminfo命令查看linux系統內存大小的詳細信息,如總內存,剩餘內存、可使用內存等信息。
2.使用df-h命令可以查看linux系統各分區的使用情況。
3.使用free-m命令可以查看linux系統內存使用量和交換區使用量。
③ 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怎麼看內存型號
Linux可安裝在各種計算機硬體設備中,比如手機、平板電腦、路由器、視頻游戲控制台、台式計算機、大型機和超級計算機。下面是我帶來的關於linux怎麼看內存型號的內容,歡迎閱讀!
linux怎麼看內存型號:
在linux查看內存型號的命令
$ sudo dmidecode -t memory
# dmidecode 2.9
SM BIOS 2.4 present.
Handle 0x000A, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 4 GB
Error Information Handle: No Error
Number Of Devices: 2
Handle 0x000B, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x000A
Error Information Handle: No Error
Total Width: 64 bits
Data Width: 64 bits
Size: 1024 MB
Form Factor: SODIMM
Set: None
Locator: DIMM #1
Bank Locator: Not Specified
Type: DDR2
Type Detail: Synchronous
Speed: 800 MHz (1.2 ns)
Manufacturer: A-Data Technology
Serial Number: 00000000
Asset Tag: Not Specified
Part Number: ADOVF1A083FE
Handle 0x000C, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x000A
Error Information Handle: No Error
Total Width: 64 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: SODIMM
Set: None
Locator: DIMM #2
Bank Locator: Not Specified
Type: DDR2
Type Detail: Synchronous
Speed: 800 MHz (1.2 ns)
Manufacturer: A-Data Technology
Serial Number: 00000000
Asset Tag: Not Specified
Part Number: ADOVF1B163G2G
think in coding
相關 閱讀推薦 :
EDO內存被SDRAM所取代有其必然性,因為,市場上主流CPU的主頻已高達2G赫茲,未來CPU的主頻還會越來越高。但由於傳統內存條的讀寫速度遠遠跟不上CPU的速度,迫使CPU插入等待指令周期,從而大大降低了電腦的整體性能。為了緩解這個內存瓶頸的問題,我們就必須採用新的內存結構,即SDRAM。因為,從理論上說,SDRAM與CPU頻率同步,共享一個時鍾周期。
SDRAM內含兩個交錯的存儲陣列,當CPU從一個存儲陣列訪問數據的同時,另一個已准備好讀寫數據,通過兩個存儲陣列的緊密切換,讀取效率得到成倍提高。最新的SDRAM的存儲速度已高達5納秒,所以,SDRAM已成為內存發展的主流。
當然,EDO內存也並沒有完全舉手投降,相反,內存條憑借其出色的視頻特性和低廉的價格,在顯示內存等領域仍是連連得手,眾多低檔顯卡更是無一例外地採用EDO內存。另外,許多硬碟、光碟機和列印機也是採用EDO緩存,可見,EDO內存還真是寶刀不老啊!
RAM有些像教室里的黑板,上課時老師不斷地往黑板上面寫東西,下課以後全部擦除。RAM要求每時每刻都不斷地供電,否則數據會丟失。如果在關閉電源以後RAM中的數據也不丟失就好了,這樣就可以在每一次開機時都保證電腦處於上一次關機的狀態,而不必每次都重新啟動電腦,重新打開應用程序了。
但是RAM要求不斷的電源供應,那有沒有辦法解決這個問題呢?隨著技術的進步,人們想到了一個辦法,即給RAM供應少量的電源保持RAM的數據不丟失,這就是電腦的待機功能,特別在Win2000里這個功能得到了很好的應用,休眠時電源處於連接狀態,但是耗費少量的電能。
按內存條的介面形式,常見內存條有兩種:單列直插內存條(SIMM),和雙列直插內存條(DIMM)。SIMM內存條分為30線,72線兩種。DIMM內存條與SIMM內存條相比引腳增加到168線。DIMM可單條使用,不同容量可混合使用,SIMM必須成對使用。
看了linux怎麼看內存型號 文章 內容的人還看:
1. Linux使用dmidecode命令查看內存型號
2. linux怎麼查看內存
3. linux如何查看內存大小
4. linux查詢物理內存的方法有哪些
5. Linux內核訪問用戶空間內存的方法是什麼
6. linux查看多個cpu信息
7. 用linux查看每個CPU的使用率
8. win7如何查內存型號
9. 詳解Linux系統內存知識及調優方案
10. linux怎麼看內存大小
⑤ linux查看伺服器內存大小
怎麼查看linux伺服器的內存?我們一起來了解一下吧。1、cat/proc/meminfo查看linux系統內存大小的詳細信息,可以查看總內存,剩餘內存、可使用內存等信息。
本文章基於ThinkpadE15品牌、centos7系統撰寫的。
⑥ linux查看內存使用情況
linux查看內存使用情況的方法是,1,proc。meminfo,查看 RAM 使用情況最簡單的方法是通過 ,procmeminfo。這個動態更新的虛擬文件實際上是許多其他內存相關工具 free ,ps ,top的組合顯示。
2,atop。atop 命令是一個終端環境的監控命令。它顯示的是各種系統資源,CPU, memory, network, IOkernel的綜合,並且在高負載的情況下進行了彩色標注。
3,free。free 命令是一個快速查看內存使用情況的方法,它是對 ,proc,meminfo 收集到的信息的一個概述。
4,GNOME System Monitor。GNOME System Monitor 是一個顯示最近一段時間內的 CPU內存交換區及網路的使用情況的視圖工具。它還提供了一種查看 CPU 及內存使用情況的方法。
5,htop。htop 命令顯示了每個進程的內存實時使用率。它提供了所有進程的常駐內存大小,程序總內存大小,共享庫大小等的報告,列表可以水平及垂直滾動。6,KDE System Monitor功能同 4 中介紹的 GENOME 版本。