Monitoring Resource Utilization With rcapstat
Use rcapstat to monitor the resource utilization
of capped projects. To view an example rcapstat report,
see Producing Reports With rcapstat.
You can set the sampling interval for the report and specify the number
of times that statistics are repeated.
- interval
Specifies the sampling interval in seconds. The default interval
is 5 seconds.
- 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.
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.
| |
id
| The project ID of the capped project.
|
project
| The project name.
|
nproc
| The number of processes in the project.
|
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).
|
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.
|
cap
|
|
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. The rate at which rcapd samples collection
RSS can be set with rcapadm. See rcapd Operation Intervals.
|
pg
| The total amount of memory that rcapd successfully
paged out 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. The rate at which rcapd samples process
RSS sizes can be set with rcapadm. See rcapd Operation Intervals.
|
|