NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | EXIT STATUS | ATTRIBUTES | SEE ALSO | NOTES
rcapadm allows the superuser to configure various attributes of the resource capping daemon. If used without arguments, rcapadm displays the current status of the resource capping daemon if it has been configured.
Do not affect the running state of the resource capping daemon when enabling or disabling it.
Enable the resource capping daemon so that it will be started each time the system is booted. Also start the resource capping daemon now, if the -n option is not specified and it is not currently running.
Disable the resource capping daemon so that it will not be started when the system is booted. Also stop the resource capping daemon now, if the -n option is not specified and it is currently running.
Choose rcapd process collection mode. Two modes of operation are supported: lnode and project. In lnode mode, caps are defined through the lnode limit attribute rss.limit. In project mode, caps are defined through the project attribute rcap.max-rss, which is configured in the project(4) database. See rcapd(1MSRM) for more information.
Set intervals for various periodic operations performed by rcapd. All intervals are specified in seconds. You can set the following intervals:
The rate at which rcapd scans for new processes. By default, the scan rate is every 15 seconds. The minimum value is 1 second.
The rate of process resident set size sampling. By default, the sample rate is every 5 seconds. The minimum value is 1 second.
The rate at which various paging statistics are updated by rcapd. These statistics can be viewed by using rcapstat(1SRM). By default, the reporting rate is every 5 seconds. When the rate is set to 0, statistics will not be updated.
Paging refers to the act of relocating portions of memory, called pages, to or from physical memory. rcapd pages out the most infrequently used pages.
The reconfiguration rate. At each reconfiguration event, rcapd checks its configuration file for updates, and scans lnode (limits) databases or project databases for new lnode or project caps, or new collections. By default, the reconfiguration rate is every 60 seconds. When the rate is set to 0, no periodic reconfiguration occurs, although the running daemon can still be reconfigured by sending it SIGHUP.
Set the minimum physical memory utilization for memory cap enforcement. Caps will not be enforced until the physical memory available to processes is low. The percent value should be in the range 0 to 100. The minimum (and default) value is 0, which means that memory caps are always enforced.
# rcapadm -m lnode -E -i scan=15,sample=5,report=5,config=60
# /usr/srm/sbin/limadm set rss.limit=10G oracle
oracle:100::oracle,root::rcap.max-rss=10737418240
The following exit values are returned:
Successful completion. The modifications to the current configuration were valid and made successfully.
An error occurred. A fatal error occurred either in obtaining or modifying the resource capping configuration.
Invalid command-line options were specified.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Architecture | SPARC |
Availability | SUNWrcapu |
project(4), liminfo(1SRM), rcapstat(1SRM), limadm(1MSRM), rcapd(1MSRM)
Solaris Resource Manager 1.3 System Administration Guide
The command described in this man page is only available on SunOS 5.8.
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXAMPLES | EXIT STATUS | ATTRIBUTES | SEE ALSO | NOTES