rctladm - display or modify global state of system resource controls
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(5) 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:
-d action
-e action
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(5).
-l
-u
The following operands are supported:
name
Example 1 Activating System Logging for Specific Violations
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:
0
1
2
/etc/rctladm.conf
See attributes(5) for descriptions of the following attributes:
|
setrctl(2), getrctl(2), prctl(1), rctlblk_get_global_flags(3C), rctlblk_get_global_action(3C), attributes(5), resource_controls(5)
By default, there is no global logging of rctl violations.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |