memory leak is a progam that consists of repeatedly allocating memory, using it, and then neglecting to free it.
one way of identifying memory leaks is to first locate the process that you expect causing the problem! (you might look into the highest RAM-utilization svmon -P -n -w -v) man svmon for more info.
Then using the PID of that process do this:
svmon -P PID#
and watch the inuse column for any segment that continues to grow! (watch for the segment 0 (kernal) & segment 2 (user stack & data).
By the way, you need to run svmon several times and compare the amount of memory used by a process to determine a possible memory leak (starting by looking at the Inuse value for each output)
It's also worth taking a look at sarcheck (Just Google) Covers both AIX & Solaris
Mike
"Whenever I dwell for any length of time on my own shortcomings, they gradually begin to seem mild, harmless, rather engaging little things, not at all like the staring defects in other people's characters."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.