리눅스에서 현재 설치된 RAM의 갯수 및 용량 클럭을 확인 할 수 있는 명령어
1. 설치
1 |
[root@xinet ~]# yum -y install dmidecode |
2. 메모리 타입 확인
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
[root@xinet ~]# dmidecode --type memory # dmidecode 3.2 Getting SMBIOS data from sysfs. SMBIOS 2.6 present. Handle 0x0041, DMI type 16, 15 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: Single-bit ECC Maximum Capacity: 32 GB Error Information Handle: Not Provided Number Of Devices: 4 Handle 0x0042, DMI type 17, 28 bytes Memory Device Array Handle: 0x0041 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: 4096 MB Form Factor: DIMM Set: None Locator: DIMM_A2 Bank Locator: NODE 0 CHANNEL 0 DIMM 1 Type: DDR3 Type Detail: Synchronous Speed: 1333 MT/s Manufacturer: Kingston Serial Number: 74028DEA Asset Tag: 9876543210 Part Number: 9965525-008.A00LF Rank: 2 Handle 0x0044, DMI type 17, 28 bytes Memory Device Array Handle: 0x0041 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: 4096 MB Form Factor: DIMM Set: None Locator: DIMM_A1 Bank Locator: NODE 0 CHANNEL 0 DIMM 0 Type: DDR3 Type Detail: Synchronous Speed: 1333 MT/s Manufacturer: Kingston Serial Number: D31CC3F9 Asset Tag: 9876543210 Part Number: 9965525-033.A00LF Rank: 2 Handle 0x0046, DMI type 17, 28 bytes Memory Device Array Handle: 0x0041 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: 4096 MB Form Factor: DIMM Set: None Locator: DIMM_B2 Bank Locator: NODE 0 CHANNEL 1 DIMM 1 Type: DDR3 Type Detail: Synchronous Speed: 1333 MT/s Manufacturer: Kingston Serial Number: D41C43F8 Asset Tag: 9876543210 Part Number: 9965525-033.A00LF Rank: 2 Handle 0x0048, DMI type 17, 28 bytes Memory Device Array Handle: 0x0041 Error Information Handle: Not Provided Total Width: 72 bits Data Width: 64 bits Size: 4096 MB Form Factor: DIMM Set: None Locator: DIMM_B1 Bank Locator: NODE 0 CHANNEL 1 DIMM 0 Type: DDR3 Type Detail: Synchronous Speed: 1333 MT/s Manufacturer: Kingston Serial Number: DC1CC0F8 Asset Tag: 9876543210 Part Number: 9965525-033.A00LF Rank: 2 |
해당 정보를 확인해보면 Kingston DDR3 4GB 장착 클럭은 13333
이제 그럼 메모리 슬롯이 몇개에 몇개 장착인지 확인해보자
1 2 3 4 5 |
[root@xinet ~]# dmidecode --type 17 | grep Size Size: 4096 MB Size: 4096 MB Size: 4096 MB Size: 4096 MB |
해당 서버는 모든 슬롯을 다 사용하고 있다
다른 서버를 한번 체크해보자
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
[root@xinet ~]# dmidecode --type 17 | grep Size Size: 4096 MB Size: No Module Installed Size: No Module Installed Size: 4096 MB Size: No Module Installed Size: No Module Installed Size: No Module Installed Size: No Module Installed Size: 4096 MB Size: No Module Installed Size: No Module Installed Size: 4096 MB Size: No Module Installed Size: No Module Installed Size: No Module Installed Size: No Module Installed Size: No Module Installed Size: No Module Installed Size: No Module Installed Size: No Module Installed Size: No Module Installed Size: No Module Installed Size: No Module Installed Size: No Module Installed |
총 24개의 슬롯에서 4개 슬롯만 사용 / 나머진 모두 장착이 가능한 슬롯