• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Find total RAM amount in Open Firmware

slimac55

Well-known member
With New World Macs I get, I'd like to be able to find the RAM amount quickly and easily, so is there an Open Firmware command to get the total amount of RAM?

 

LCGuy

LC Doctor/Hot Rodder
I'm not sure, but wouldn't it be easier to boot the machine up and go to About This Mac?

 

paws

Well-known member
It is possibly, I can't remember off-hand, but it probably involves finding the path to the RAM and getting .properties. Try doing

> dev / ls

to see a list of devices, and then finding the path of the RAM. Then type in

> dev /path/to/ram .properties

I think that's it, anyways.

 

slimac55

Well-known member
I did the following command:

dev /memory@0 .properties

and it came up with the following:

Code:
name         memory
device_type  memory
reg          00000000 00000000
            00000000 02000000
slot-names   00000003
            DIMM0/J13
            DIMM1/J14
available:   00003000 01bfd000
dimm-info:   00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
            00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
            00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
            00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
            8008040b 09024000 01a07500 80080001 8f020701 01000ef0 90386c1e 141e3c04
            00000000 00000000 00000000 00000000 00000000 00000000 00000000 000012ef
            00000000 00000000 00000000 00000000 00000000 00000000 00000000 00006200
            00000000 00000000 00000000 00000000 00000000 00000000 00000000 000066f6
dimm-types
            SDRAM
dimm-speeds
            PC100-333S

ok
It doesn't seem to mention size. Is it a different device I need to be looking at or is that large amount of binary supposed to tell me something.

 

paws

Well-known member
OH.

Wait. I misread the number you posted. 02000000 isn't the same as 20000000... It's 1/16 of it. So one 32MB stick, yes.

 
Top