•
Como ver los slots libres de RAM con dmidecode
Una duda que suele salir en los servidores es cuantos slots quedan libres para añadir memoria y de que tamaño son el resto. La solución fácil sería apagar el servidor y abrirlo, pero mediante dmidecode podemos ver lo mismo.
Si ejecutamos dmidecode sin parámetros veremos la salida de todo. Mediante –type podemos filtrar por tipo. Por ejemplo, por memoria:
# dmidecode --type memory
# dmidecode 2.7
SMBIOS 2.4 present.
Handle 0x1000, DMI type 16, 15 bytes.
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: Multi-bit ECC
Maximum Capacity: 32 GB
Error Information Handle: Not Provided
Number Of Devices: 8
Handle 0x1100, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: <OUT OF SPEC>
Set: 1
Locator: DIMM1
Bank Locator: Not Specified
Type: <OUT OF SPEC>
Type Detail: Synchronous
Speed: 667 MHz (1.5 ns)
Manufacturer: 80CE808980CE
Serial Number: 511AE99A
Asset Tag: 010721
Part Number: M395T5750CZ4-CE65
Handle 0x1101, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: <OUT OF SPEC>
Set: 1
Locator: DIMM2
Bank Locator: Not Specified
Type: <OUT OF SPEC>
Type Detail: Synchronous
Speed: 667 MHz (1.5 ns)
Manufacturer: 80CE808980CE
Serial Number: 511AE988
Asset Tag: 010721
Part Number: M395T5750CZ4-CE65
Handle 0x1102, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: <OUT OF SPEC>
Set: 2
Locator: DIMM3
Bank Locator: Not Specified
Type: <OUT OF SPEC>
Type Detail: Synchronous
Speed: 667 MHz (1.5 ns)
Manufacturer: 80CE808980CE
Serial Number: 511AE99B
Asset Tag: 010721
Part Number: M395T5750CZ4-CE65
Handle 0x1103, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: <OUT OF SPEC>
Set: 2
Locator: DIMM4
Bank Locator: Not Specified
Type: <OUT OF SPEC>
Type Detail: Synchronous
Speed: 667 MHz (1.5 ns)
Manufacturer: 80CE808980CE
Serial Number: 511AEAA5
Asset Tag: 010721
Part Number: M395T5750CZ4-CE65
Handle 0x1104, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor: <OUT OF SPEC>
Set: 3
Locator: DIMM5
Bank Locator: Not Specified
Type: <OUT OF SPEC>
Type Detail: Synchronous
Speed: Unknown
Manufacturer:
Serial Number:
Asset Tag:
Part Number:
Handle 0x1105, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor: <OUT OF SPEC>
Set: 3
Locator: DIMM6
Bank Locator: Not Specified
Type: <OUT OF SPEC>
Type Detail: Synchronous
Speed: Unknown
Manufacturer:
Serial Number:
Asset Tag:
Part Number:
Handle 0x1106, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor: <OUT OF SPEC>
Set: 4
Locator: DIMM7
Bank Locator: Not Specified
Type: <OUT OF SPEC>
Type Detail: Synchronous
Speed: Unknown
Manufacturer:
Serial Number:
Asset Tag:
Part Number:
Handle 0x1107, DMI type 17, 28 bytes.
Memory Device
Array Handle: 0x1000
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: No Module Installed
Form Factor: <OUT OF SPEC>
Set: 4
Locator: DIMM8
Bank Locator: Not Specified
Type: <OUT OF SPEC>
Type Detail: Synchronous
Speed: Unknown
Manufacturer:
Serial Number:
Asset Tag:
Part Number:
Con un grep por “Size” nos podemos hacer una idea muy rápida de la memoria instalada en el sistema:
# dmidecode --type memory | grep Size
Size: 2048 MB
Size: 2048 MB
Size: 2048 MB
Size: 2048 MB
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
Relacionados
Imprimir
Deja un comentario: