SUMMARY: Memory usage from ps -axu doen't add up.

From: csb@gdwb.OZ.AU
Date: Sun Jan 03 1993 - 20:44:03 CST


My original query asked where the unreported memory was being
used in a SPARC 2 with 64 MB of memory, running 4.1.3.

Thanks to:
Adrian Booth <abcc@dialix.oz.au>
Eckhard.Rueggeberg@ts.go.dlr.de
Dwight Ernest <dwight@hyphen.com>
don@mars.dgrc.doc.ca (Donald McLachlan)
ups!upstage!glenn@fourx.Aus.Sun.COM (Glenn Satchell)
hyder@niwot.scd.ucar.EDU (Paul Hyder)
Barry Margolin <barmar@Think.COM>
morkre@Solbourne.COM (Larry Morkre)
stern@sunne.East.Sun.COM (Hal Stern - NE Area Systems Engineer)
danny@ews7.dseg.ti.com

Several helpful suggestion were put forward, Hal Stern also
sent a paper describing where the memory was being used.

However the best answer which came from several people was to
use the tool "vmpage" available via ftp from several places,
qiclab.scn.rain.com in /pub/sun/vmoage.sh.Z was one.

On the machine in question vmpage produces the following,

# vmpage
vmpage: all results in decimal pages
        physmem 16358, startup 979, maxmem 15379, pageable 14675
        scanned 15610, locked 221, kept 714, cached 14484, free 191
        
This shows all the memory usages. The place, of course, where memory
is used mostly on any NFS server in in disk cache. Memory pages are
4098 bytes.

Craig Bishop Information Systems Division
Email: csb@gdwb.OZ.AU Geelong & District Water Board
Phone: +61 52 262506 61-67 Ryrie St Geelong
Fax: +61 52 218236 Victoria 3220 Australia



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:19 CDT