Prstat Incorrectly Counts Shared Memory Multiple Times on Solaris 11
Last updated on AUGUST 09, 2016
Applies to:Solaris Operating System - Version 11 to 11.1 [Release 11.0]
Information in this document applies to any platform.
***Checked for relevance on 09-Aug-2016***
When prstat is used with any of -a, -T, -J, -Z, the shared memory is counted multiple times, then accumulated SWAP aand RSS size is wrongly reported.
In the below example, prstat reports 12G memory is used by user 'test' in total, although 6 processes share a 2G shared memory segment and the actual usage is around 2G.
This issue happens with Solaris 11.0 and Solaris 11.1.
With Solaris 10 Update 4 and later, prstat counts shared memory only once. But due to another bug fix, the feature was broken with Solaris 11.0.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms