On 11/4/05, Peter Tribble <[EMAIL PROTECTED]> wrote: > However, there is one case in which prstat could be improved. While > the prstat -a output simply adds the memory of each process, if you > use prstat -aL it simply adds things up by LWP so the memory usage > gets multiplied by the number of LWPs in the process. eg: > > NPROC USERNAME SIZE RSS MEMORY TIME > CPU > 2 apache 708M 534M 5.0% 1:27:31 6.7% > 30 oracle 11G 9915M 93% 0:11:31 6.0% > 50 root 138M 84M 0.7% 8:18:21 0.7% > > NLWP USERNAME SIZE RSS MEMORY TIME > CPU > 123 apache 84G 63G 55% 0:50:06 7.1% > 156 oracle 59G 52G 45% 0:11:16 5.7% > 122 root 447M 323M 0.3% 8:18:16 0.7% > > In this case the apache user is running a single, but rather large, > java process.
The SIZE/RSS bug was fixed in S10. See http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4983833 > (Just looking at this, I'm not sure why the TIME is so different.) That could be 4481976 which was fixed a long time ago in S8 and S9. So, on what Solaris release was this prstat snapshot taken from? - Andrei _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org