add up the RSS field of prstat.
>
> So to monitor the total memory usage, it's
> better to use vmstat and sar, right?
>
> Got that.
>
> Thanks
> Linfu
>
>
> > Date: Thu, 24 Apr 2008 11:23:43 -0400
> > From: [EMAIL PROTECTED]
> > Subject: Re
Please tell us where these values came from - we need to know the
source of the values in the table.
vmstat is a system tool, prstat is a process/thread tool.
vmstat will tell you how much memory is free from the kernel's perspective.
prstat will tell you how much memory is being used per-proces
When calculate and compare the memory usage when
a Application starts, with "prstat" and "vmstat".
We found 384MB memory gap.
Timing| Memory Used |Free Memory |
--+---++
Before start App 'A' | 1648MB |