|
Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!
System Administration Commands rctladm(1M)
NAME
rctladm - display or modify global state of system resource
controls
SYNOPSIS
rctladm [-lu] [-e action] [-d action] [name...]
DESCRIPTION
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.
OPTIONS
The following options are supported:
-d action Disable (-d) or enable (-e) the global
-e action action on the specified rctls. If no rctl is
specified, no action is taken and an error
status is returned. You can use the special
token all with the disable option to deac-
tivate all global actions on a resource con-
trol.
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.
-l List information about rctls. The name, glo-
bal event actions and statuses, and global
flags are displayed. If one or more name
operands are specified, only those rctls
matching the names are displayed.
-u Configure resource controls based on the
contents of /etc/rctladm.conf. Any name
SunOS 5.10 Last change: 25 Oct 2005 1
System Administration Commands rctladm(1M)
operands are ignored.
OPERANDS
The following operands are supported:
name The name of the rctl to operate on.
Multiple rctl names can be speci-
fied. If no names are specified, and
the list action has been specified,
then all rctls are listed. If the
enable or disable action is speci-
fied, one or more rctl names must be
specified.
EXAMPLES
Example 1: Activating System Logging for Specific Violations
The following command activates system logging of all viola-
tions 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
$
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 A fatal error occurred. A message is written to
standard error to indicate each resource control
for which the operation failed. The operation was
successful for any other resource controls speci-
fied as operands.
SunOS 5.10 Last change: 25 Oct 2005 2
System Administration Commands rctladm(1M)
2 Invalid command line options were specified.
FILES
/etc/rctladm.conf Each time rctladm is executed, it
updates the contents of rctladm.conf
with the current configuration.
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | SUNWesu |
|_____________________________|_____________________________|
SEE ALSO
setrctl(2), getrctl(2), prctl(1),
rctlblk_get_global_flags(3C), rctlblk_get_global_action(3C),
attributes(5), resource_controls(5)
NOTES
By default, there is no global logging of rctl violations.
SunOS 5.10 Last change: 25 Oct 2005 3
Man(1) output converted with
man2html and wrapped by fishsponge
This page was generated on Wed Sep 12 11:26:29 GMT 2007
|
Your favourite pages:
No pages logged yet. Trying to save cookie... Top 10 most popular pages:
sqlite3 man page (5334 hits) (openSUSE 10.2)
svn man page (5209 hits) (FreeBSD 6.2)
adv_cap_autoneg man page (4870 hits) (Solaris 10 11_06)
CPAN man page (4607 hits) (Suse Linux 10.1)
ssh man page (4342 hits) (Suse Linux 10.1)
ssh-socks5-proxy-connect man page (2885 hits) (Solaris 10 11_06)
netcat man page (2717 hits) (Suse Linux 10.1)
pprosetup man page (2493 hits) (Solaris 10 11_06)
startproc man page (2471 hits) (Suse Linux 10.1)
signal man page (2408 hits) (Suse Linux 10.1)
|