Friday, October 07, 2005

How do I find out how much physical memory a machine has?

Subject: 6.3) How do I find out how much physical memory a machine has?

Use /usr/sbin/prtconf if the machine is running Solaris. If it's a
sun4u running Solaris 8 or previous, /usr/platform/sun4u/sbin/prtdiag
is very helpful. It's /usr/sbin/prtdiag in Solaris 9 and later.

On high-end machines, /usr/sbin/cfgadm -al can also provide memory
information.

The banner message on reboot (or type "banner" in the monitor on machines
with Openboot proms) will usually report the amount of physical memory.

Alternatively, you can open up the case and count SIMMS and/or memory
boards.

A perl script "memconf" is also available that identifies the sizes and
locations of SIMM/DIMM memory modules installed in a Sun system. It
also works on several SPARC clones and with Sun Explorer data. It is
maintained by Tom Schmidt <tschmidt at micron dot com>. Download memconf from
http://www.4schmidts.com/unix.html

0 Comments:

Post a Comment

<< Home