Go to main content

Administering Resource Management in Oracle® Solaris 11.4

Exit Print View

Updated: August 2018
 
 

Monitoring Resource Utilization of Capped Projects

Use the rcapstat command to monitor the resource utilization of capped projects. To view an example rcapstat report, see Reporting Resource Capping Statistics.

You can set the sampling interval for the report and specify the number of times that statistics are repeated.

count

Specifies the number of times that the statistics are repeated. By default, rcapstat reports statistics until a termination signal is received or until the rcapd process exits.

interval

Specifies the sampling interval in seconds. The default interval is 5 seconds.

The paging statistics in the first report issued by rcapstat show the activity since the daemon was started. Subsequent reports reflect the activity since the last report was issued.

The following table defines the column headings in an rcapstat report.

rcapstat Column Headings
Description
at
The total amount of memory that rcapd attempted to page out since the last rcapstat sample.
avgat
The average amount of memory that rcapd attempted to page out during each sample cycle that occurred since the last rcapstat sample.
avgpg
An estimate of the average amount of memory that rcapd successfully paged out during each sample cycle that occurred since the last rcapstat sample.
cap
The RSS cap defined for the project. See Attribute to Limit Physical Memory Usage for Projects or the rcapd(8) man page for information about how to specify memory caps.
cappd
Informs if caps are enforced on the project.
id
The project ID of the capped project.
nproc
The number of processes in the project.
pg
The total amount of memory that rcapd successfully paged out since the last rcapstat sample.
project
The project name.
rss
The estimated amount of the total resident set size (RSS) of the processes in the project, in kilobytes (K), megabytes (M), or gigabytes (G), not accounting for pages that are shared.
vm
The total amount of virtual memory size used by processes in the project, including all mapped files and devices, in kilobytes (K), megabytes (M), or gigabytes (G).