On Thu, 2003-09-25 at 16:34, Joseph Shraibman wrote:
> That begs the questions 1) what did ps do in redhat 8? and 2) what is top doing 
> different?

Red Hat 8 was using a totally different thread library. I'm sure this
behavioral difference is tied to NPTL (easy way to test this too, just
disable NPTL and try it). top is invariably doing the wrong thing. It
has a lovely history in this regard.

> If I need to understand the memory usage on my system I need to know the *real* 
> memory 
> used, not allocated.  Allocated isn't very useful at all, only being good for 
> understanding why you suddenly can't allocate any more memory even though you seem 
> to be 
> using much less than the theoretical limit.

Allocated is useful in some circumstances, used is useful in others.
However, what your notion of "used" is may vary from the kernel's. As
such, things like RSS and VSIZE are the much more reliable measures of
what's going on with your system, or just have your program track it's
allocations so it can report information to you directly.

Anyway, this is not really a Java discussion, but a Linux discussion
that is best had with those that maintain the relevant components.

-- 
Christopher Smith <[EMAIL PROTECTED]>


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to