Today I was sitting SSHed into an OSX box and needed to know how much RAM was physically installed in the machine. Top of course told me how much RAM was in use however finding the installed RAM took me a few minutes longer than I would have liked.
So this is a note to myself for next time, use the following:
trastle$ system_profiler | grep -A 9 "BANK [0-9]/DIMM[0-9]" BANK 0/DIMM0: Size: 2 GB Type: DDR3 Speed: 1333 MHz Status: OK Manufacturer: 0x80AD Part Number: 0x484D54333235533642465238432D48392020 Serial Number: 0xDEADBEEF BANK 1/DIMM0: Size: 2 GB Type: DDR3 Speed: 1333 MHz Status: OK Manufacturer: 0x80AD Part Number: 0x484D54333235533642465238432D48392020 Serial Number: 0xDEADBEEF
Have fun!