Any way to tell what the RAM configuration is?

Chuck Swiger cswiger at mac.com
Wed Dec 6 11:53:37 PST 2006


On Dec 6, 2006, at 11:00 AM, patrick wrote:
> I'm wondering if there's any way in FreeBSD (4.x on i386) to tell what
> the RAM configuration in the system is? ie. Can it show me if I have
> four 256MB modules versus two 512MB's? Obviously it would be possible
> to just open up the computer and see for my self, I'm hoping I can
> save myself a trip and wrecking an uptime of 670 days. :)

Sure.  Install the dmidecode port (from /usr/ports/sysutils/ 
dmidecode), and run:

   dmidecode -t memory

> # dmidecode 2.8
> SMBIOS 2.3 present.
>
> Handle 0x1000, DMI type 16, 15 bytes
> Physical Memory Array
>         Location: System Board Or Motherboard
>         Use: System Memory
>         Error Correction Type: Single-bit ECC
>         Maximum Capacity: 4 GB
>         Error Information Handle: No Error
>         Number Of Devices: 4
>
> Handle 0x1100, DMI type 17, 23 bytes
> Memory Device
>         Array Handle: 0x1000
>         Error Information Handle: No Error
>         Total Width: 72 bits
>         Data Width: 64 bits
>         Size: 128 MB
>         Form Factor: DIMM
>         Set: 1
>         Locator: DIMM_A
>         Bank Locator: BANK_1
>         Type: SDRAM
>         Type Detail: Synchronous
>         Speed: 133 MHz (7.5 ns)
> [ ... ]

-- 
-Chuck



More information about the freebsd-questions mailing list