[SunRescue] Memory questions

Paul Khoury pkhoury3 at earthlink.net
Sat Mar 18 14:36:45 CST 2000


>He might not have top, but '/usr/ucb/ps -aux' will also show cpu and 
>memory usage in a sense. 

Oh, I definately have top! =)

Love that util.
And Solaris is ps -ef, NetBSD and Linux are ps -aux.


Solaris's memory handling means you can't 
>always just look at a number and tell if you have the right amount. Sun 
>has a white paper somewhere on sizing memory and the process is a little 
>involved. What I heard somewhere is to look at vmstat and make sure that 
>the 'free' column doesn't stay under 4,000 over any length of time. The 
>converse of this -- I suppose -- is if it doesn't get to about 4,000 
>then you have enough RAM. Also watch the 'sr' column to see how hard the 
>memory management is working to move memory pages around.
>
>But getting rid of daemon process you don't need is a good idea, even if 
>most of them will page out when you are working. I've been walking 
>through the rcx.d directories myself, reading the scripts and seeing 
>what I can drop.
>
Yeah, I've been noticing, like snmp garbage, powerd, etc

I'll have to make that tonight's project.

Paul








More information about the rescue mailing list