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.
|
|
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 |
|
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). |
|