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
2 comments:
Yes, prtconf shows all information about devices connect to the system.
By grepping the keyword Memory you extract the line containing keyword Memory.
Thanks Atique.
Check out my revamped website any more Solaris questions ?
Post a Comment