How much memory does SunOs use?

Philip Barr pbarr at convex.com
Thu May 9 23:50:19 AEST 1991


In <26823 at adm.brl.mil> tomt at maui.coral.com (Tom Tulinsky) writes:


>We are having severe thrashing problems running gdb on a large g++
>program.  Our user process total RSS size never gets over about 
>6 meg on our 16 meg Sparc 1's. (measured w/ ps -aux).  I am aware that
>ps -aux doesn't show the resident text.  Is this the amount of space
>you would expect to be available?  Is there anyway we can make the OS
>smaller? 

>Is there any command that shows how much memory the OS uses? 

On booting you are told the amount of physical memory you have and the
available memory after the kernal is loaded.

Nov  3 15:57:38 name vmunix: Copyright (c) 1983-1990, Sun Microsystems, Inc.
Nov  3 15:57:38 name vmunix: mem = 8192K (0x800000)
                                   ^^^^^   physical memory  8 Meg
Nov  3 15:57:38 name vmunix: avail mem = 7446528
                                          ^^^^^^  availabel memory  7.44 Meg
Nov  3 15:57:38 name vmunix: Ethernet address = 0:0:00:0:00:00
Nov  3 15:57:38 name vmunix: xyc0 at vme16d16 0xee40 vec 0x48
.......
....
..

You can get get the output from a boot by looking in /usr/adm/messages.

Next you need to add up all the Resident Set Size of all processes that are 
running.  This is the RSS field from 'ps -axl'.  You can probably kill some
unneeded processes to regain some physical memory.

--
Phil Barr 				I Know That You Believe You
Systems Specialist - CONVEX TAC		Understand What You Think I Said,
pbarr at convex.com			But I'm Not Sure You Realize That
(214)/497-4421				What you Heard Is Not What I Meant.



More information about the Comp.unix.questions mailing list