HP-UX Secure Resource Partitions (SRP) A.02.00 Administrator's Guide

Default: All templates configured for the SRP compartment.
service
Specifies the name of the service data to replace.
If you specify multiple services, srp processes each service for each
template in the order specified.
Default: All services configured for the template.
instance
Specifies a unique string identifier used to identify an instance of a
template usage for templates that can be applied multiple times. This
is valid for the custom template only and is ignored for all other
templates.
If you do not specify the -id argument and are using the custom
template, srp prompts you for an instance identifier.
Valid Input: A text string with alphanumeric, dash (-) , or underscore
(_) characters. The maximum length is 20 characters.
Default: None.
variable=value
Specifies a valid variable for the specified service when used with the
specified template and the value for the variable. To list the valid
variable names for a service used with a given template, you can use
the following command:
srp -h -v -t template_name -s service_name
If you do not specify any variable arguments, srp prompts for all
variables for the specified template and services.
For example, the prm service for the base template supports the
variable prm_cpu_shares. The user can set the value for this variable
in the command line as follows:
srp -replace myCmpt -t base -s prm prm_cpu_shares=20
The srp utility skips the prompt for the prm_cpu_shares variable
in the interactive dialog and uses the specified value. The srp utility
prompts for all other variables in the prm service, unless you use it
with the -batch option. If you use it with the -batch option, it uses
the default values for the other parameters, as described in “Using srp
in Batch Mode” (page 72).
The srp -replace command deletes the data for the specified services, prompts for new input
data, and adds the replacement data.
CAUTION: If you do not specify the -template and -service arguments, srp deletes all
data for the compartment, then prompts you for replacement data.
Displaying Help Text and Input Parameters
Use the following command to display srp help text and information about input parameters:
srp -h[elp] [-v[erbose]] [-t[emplate] template[,template]...]
[-s[ervice] service[,service]...]
Where:
-verbose
Displays verbose (detailed) help text.
template
Specifies the template for which you want to display parameters. If you specify
multiple templates, srp processes each template in the order specified.
Valid Input: base, apache, custom, oracledb, sshd.
70 Managing SRP Data