... which _might_ be correct. If you have Solaris <8, then it looks like a
memory leak, but is'nt. The "missing memory" is used for the page buffer,
thus it's not "free".
If you want know exactly the memory usage, use "ps -efo 'vsz pid comm'" and
sum up the collumn "vsz". This is the "virtual process size". If you do not
have shared memory segments (like oracle and other apps use), you have
roughly the used memory ("The sum of the virtual memory every process
uses").
However, "ps -efo 'vsz pid comm' | sort -n" helps you to find the process
which uses the most memory, and you might use "/usr/proc/bin/pmap -x [PID]"
to look at the process and decide where the memory goes to.
--
Gru?
Peter Bauer
--
ITServ: kompetent, zuverl?ssig und fair
Telefon: 0700-4-SOLARIS (0700-4-7652747) http://www.itserv.de
--
Quote:> Someone calling themselves Justin Stringfellow decided to bash out:
> >> I found the VM easily (vmstat) and quite frankly I think something is
> >> very screwy; out of a 500MB swap slice, I only have 11MB free, thus
> >> making me think KDE may have a memory leak.
> > The 'free' column in vmstat is telling you the size of the free list..
> > not how much free memory you have.
> Yeah. On that "free list" there is only ~11MB available.
> --
> Wayne M Jackson
> http://www.users.bigpond.net.au/warp_kez
> Inter Arma Enim Silent Leges - Marcus Tullius Cicero
> In time of War, the law falls silent