On Thu, Jun 15, 2006 at 04:28:10AM -0700, Dmitry Chernikov wrote: > I want to know which app thread consumes a lot of virtual memory.
Well, that's a kind of tricky question. Do you mean which thread is *using* the most memory, or which thread *allocated* the most memory which has not yet been freed? (i.e. threads don't really directly consume memory; it's shared) You can find all of the outstanding buffers a particular thread has allocated by doing: > 0t1::walk allocdby | ::bufctl (where 1 is the lwpid) If you want to know the buffer sizes, you can do: > 0t1::walk allocdby | ::print -d umem_bufctl_audit_t bc_cache->cache_bufsize Cheers, - jonathan -- Jonathan Adams, Solaris Kernel Development