How to Determine Main Memory Size in Solaris
I was looking for a way to check the memory size of a Solaris machine I am working on. I found a blog post having three commands here: http://sysdigg.blogspot.com/2007/12/how-to-check-memory-size-in-solaris.html. I tried all three but only the following one worked for me:
# /usr/platform/sun4u/sbin/prtdiag | grep Memory
Memory size: 4096 Megabytes
Here is the machine information:
# uname -a
SunOS *** 5.10 Generic_127111-11 sun4u sparc SUNW,Sun-Fire-880