|RCTLADM(8)||Maintenance Commands and Procedures||RCTLADM(8)|
rctladm [-lu] [-e action] [-d action] [name...]
The rctladm command allows the examination and modification of active resource controls on the running system. An instance of a resource control is referred to as an rctl. See setrctl(2) for a description of an rctl; see resource_controls(7) for a list of the rctls supported in the current release of the Solaris operating system. Logging of rctl violations can be activated or deactivated system-wide and active rctls (and their state) can be listed.
An rctladm command without options is the equivalent of an rctladm with the -l option. See the description of -l below.
The following options are supported:
You can set the syslog action to a specific degree by assigning a severity level. To do this, specify syslog=level, where level is one of the string tokens given as valid severity levels in syslog(3C). You can omit the common LOG_ prefix on the severity level. Note that not all rctls support the syslog action. See resource_controls(7).
The following operands are supported:
The following command activates system logging of all violations of task.max-lwps.
# rctladm -e syslog task.max-lwps #
Example 2 Examining the Current Status of a Specific Resource
The following command examines the current status of the task.max-lwps resource.
$ rctladm -l task.max-lwps task.max-lwps syslog=DEBUG $
The following exit values are returned:
By default, there is no global logging of rctl violations.
|July 2, 2007||OmniOS|