Re: [perf-discuss] the mem usage calculated by prstat and vmstat is different.

2008-04-25 Thread Jim Mauro
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

Re: [perf-discuss] the mem usage calculated by prstat and vmstat is different.

2008-04-24 Thread Jim Mauro
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

[perf-discuss] the mem usage calculated by prstat and vmstat is different.

2008-04-24 Thread tanglinfu
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 |