How do you determine the amount of system memory?
Michael ODonnell
michael.odonnell at comcast.net
Wed Jul 16 15:36:07 EDT 2008
> /proc/meminfo is incorrect. I'm trying to find a way to
> determine whether the amount reported is correct
Ick. You might be able to write (or find) something that'll use
DMI data to compute a total from everything currently marked as
being a Memory Device (type 17). The dmidecode tool can dump
it raw hex or in translated form, thus:
.
.
.
Handle 0x0041
DMI type 17, 27 bytes.
Memory Device
Array Handle: 0x003F
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 2048 MB
Form Factor: <OUT OF SPEC>
Set: 1
Locator: DIMM01
Bank Locator: Not Specified
Type: <OUT OF SPEC>
Type Detail: Synchronous
Speed: 667 MHz (1.5 ns)
Manufacturer: JEDEC ID:2C 0C 07 39 D9 12 97 C7
Serial Number: C79712D9
Asset Tag: Not Specified
Part Number: 36HTF25672F667B3E3
Handle 0x0042
DMI type 17, 27 bytes.
Memory Device
Array Handle: 0x003F
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: Unknown
Size: No Module Installed
Form Factor: <OUT OF SPEC>
Set: None
Locator: DIMM02
Bank Locator: Not Specified
Type: <OUT OF SPEC>
Type Detail: Synchronous
Speed: Unknown
Manufacturer: JEDEC ID:
Serial Number:
Asset Tag: Not Specified
Part Number:
Handle 0x0043
DMI type 17, 27 bytes.
Memory Device
Array Handle: 0x003F
Error Information Handle: Not Provided
Total Width: 72 bits
Data Width: 64 bits
Size: 2048 MB
More information about the gnhlug-discuss
mailing list