any way to tell memory config of a machine?

Mark Cullen mark.cullen at dsl.pipex.com
Sat May 21 10:10:18 PDT 2005


Chad Leigh -- Shire.Net LLC wrote:
> On May 21, 2005, at 8:52 AM, Lowell Gilbert wrote:
> 
> 
>>"Chad Leigh -- Shire.Net LLC" <chad at shire.net> writes:
>>
>>
>>
>>>I was wondering if there was any way to tell the memory configuration
>>>of a server running FBSD 5 (while running).  By this I mean:  can I
>>>tell if 2GB is 2x1GB or 4x512MB etc?  Obviously I can shut it down
>>>and either look at the BIOS or physically look inside, but I would
>>>rather not do that.
>>>
>>
>>With most systems, there is no way to do this.  On many, there isn't
>>even a way for the BIOS to tell...
> 
> 
> 
> Assuming the BIOS knows (it lists the memory config on boot by slot),  
> is there a FreeBSD utility that will get the info from the BIOS for me?
> 
> Thanks
> Chad
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 

Try 'dmidecode' in ports. /usr/ports/sysutils/dmidecode :)

Works for me...

*snip snip*
Handle 0x0006
         DMI type 6, 12 bytes.
         Memory Module Information
                 Socket Designation: BANK_0
                 Bank Connections: 0 1
                 Current Speed: 70 ns
                 Type: DIMM SDRAM
                 Installed Size: 64 MB (Single-bank Connection)
                 Enabled Size: 64 MB (Single-bank Connection)
                 Error Status: OK
Handle 0x0007
         DMI type 6, 12 bytes.
         Memory Module Information
                 Socket Designation: BANK_1
                 Bank Connections: 2 3
                 Current Speed: 70 ns
                 Type: DIMM SDRAM
                 Installed Size: 64 MB (Single-bank Connection)
                 Enabled Size: 64 MB (Single-bank Connection)
                 Error Status: OK
Handle 0x0008
         DMI type 6, 12 bytes.
         Memory Module Information
                 Socket Designation: BANK_2
                 Bank Connections: 4 5
                 Current Speed: 70 ns
                 Type: Unknown
                 Installed Size: Not Installed
                 Enabled Size: Not Installed
                 Error Status: OK
Handle 0x0009
         DMI type 6, 12 bytes.
         Memory Module Information
                 Socket Designation: BANK_3
                 Bank Connections: 6 7
                 Current Speed: 70 ns
                 Type: Unknown
                 Installed Size: Not Installed
                 Enabled Size: Not Installed
                 Error Status: OK

*snip snip*


More information about the freebsd-questions mailing list