HP-UX Secure Resource Partitions (SRP) A.02.02 Administrator's Guide
80
15.6 Displaying status of SRP Compartments
Use the srp –status command to display a status summary for SRP compartments:
srp –status [[srp_name] [-verbose|-xmloutput[]]
srp_name
Specifies the name of an existing SRP compartment. If you do not specify
a compartment name, srp displays information about all compartments
configured on the system.
verbose
Verbose mode. Displays detailed status data.
template
Specifies the templates for which you want to display the status data.
Valid Input: base, apache, tomcat, custom, oracledb, sshd.
Default: All templates currently applied to the SRP.
service
Specifies the services for which you want to display configuration.
Default: All services currently applied to the SRP.
xmloutput
Display output in XML format.
15.7 Using srp in Batch Mode
The -batch or -b option runs srp in batch mode. Instead of prompting the user for input, srp uses
the default values for input variables. If there is no input default value for an input variable, you must
specify the value in the command line. For example:
/opt/hpsrp/bin/srp -add mySRP -batch ip_address=192.0.2.2 iface=lan1:1