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-process, but does not
account for shared memory.

Use "prstat -s rss" to sort processes by memory usage and determine how much
physical memory is being used (RSS). You can not add these up for a total of
how much memory is being used by all processes, because, as I said, shared
segments are not accounted for. Run "pmap -x [PID]" per-process for a 
detailed
view.

What are you trying to figure out?
What release of Solaris?

/jim



tanglinfu wrote:
> 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      |  1073MB    |
>     --------------------------+---------------+------------+
>     After start App 'A'       |   2001MB      |   336MB    |
>     ===========================================================
>     Change                    |353MB increased|737MB decreased|
>
>
> >From man page, seem prstat only reports active process statistics.
>
> Can any one advise where the 384 MB was used.
>
> Thanks in advance!
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> perf-discuss mailing list
> perf-discuss@opensolaris.org
>   
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to