SUMMARY: determining memory on SunOS4 without using dmesg

From: Danny Cox (dannyc@pcs.co.uk)
Date: Thu Nov 11 1999 - 04:14:12 CST


Well .. very interesting. A whole range of responses on this.
They basically fall down to:

1.
#adb -w -k /vmunix /dev/mem < /dev/null
physmem 3fb1
#pagesize
4096
then multiply the output of these by one and another to have the amount
of RAM

2.
strings /dev/mem | grep "mem ="

3.
/usr/etc/devinfo -vp

4.
Use top - which was an interesting comment but a little inaccurate (thanks
though of course).

5.
/usr/diag/sundiag/pmem v

And various bits of software:

sysinfo, memconf(needs Perl)

Suggestions to use prtconf (Solaris only though)

Many thanks to all for an interesting series of lessons:
Misha Pavlov
Jean-Christophe Touvet
Jay Lessert
Nollaig Fitzgerald
Greg Willson
Chan Cao
Dan Stromberg
David Foster
Brion Leary
Kevin Sheehan
Bill Hebert
Tom Schmidt
Jens Fischer
Ryan Matteson
Imre Kolos
Jochen Bern
Dave Harrington
Thomas Anders
Steve Butterfield



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:32 CDT