How do I find the amount of memory installed or other system configuration information?

	system configuration information?

	You can use the "devinfo" command to find out general information 
	about the hardware attached to your Sun. The "devinfo" command is 
        only available on desktop SPARCsystems, SPARCengine 1E (although not
        in the version used in Auspex systems), or 600MP series server only.

	Also, most sparc clones should support devinfo.  Any machine that has
	an SBus will probably support "devinfo" but any machine that doesn't 
	have an SBus probably won't support "devinfo".

	Note in Solaris "devinfo" is called "prtconf" and all options
	are the same. 
	
	The "best" command for determining system information is  
	"sysinfo". Sysinfo is available from

		ftp://usc.edu/pub/sysinfo/

	Sysinfo works on all Sun architectures (including Sun-3s) and all
	SunOS and Solaris releases as well as many other UNIX boxes such
	as Ultrix, and Next. 

	Also, you can use the sundiag to find out configuration information
	as follows:

		/usr/diag/sundiag/sundiag -wv 
		/bin/cat /usr/adm/sundiaglog/sundiag.conf | /bin/sort

	Finally, the "dmesg" command can be used to get memory information.
	Try something like "dmesg | grep -i memory". It may not return
	any memory information if the system has been up for a while.

	Note:  "wc -l /dev/mem" and "dd if=/dev/mem of=/dev/null" and 
               the like will *not* give the correct answer on machines 
	       where physical memory is not contiguous, such as many Suns.

	OpenWindows 3.3 and above also support the "wsinfo" command, which
	provides some of this information, in particular memory size.

	Last Updated:  May 23, 1996.


Go to the index previous next