My Oracle Support Banner

Prstat Incorrectly Counts Shared Memory Multiple Times on Solaris 11 (Doc ID 1573317.1)

Last updated on MAY 30, 2021

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.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.