|
|
The form of the SAC and port monitor administrative commands used to install the three types of configuration scripts are described. Per-system and per-port monitor configuration scripts are administered using the sacadm command. Per-service configuration scripts are administered using the pmadm command. These commands are described on the sacadm(1M) and pmadm(1M) manual pages.
sacadm -G [ -z script ]The -G option is used to print or replace the per-system configuration script. The -G option by itself prints the per-system configuration script. The -G option in combination with a -z option replaces /etc/saf/_sysconfig with the contents of the file script. Other combinations of options with a -G option are invalid.
sacadm -g -p pmtag [ -z script ]The -g option is used to print, install, or replace the per-port monitor configuration script. A -g option requires a -p option. The -g option with only a -p option prints the per-port monitor configuration script for port monitor pmtag. The -g option with a -p option and a -z option installs the file script as the per-port monitor configuration script for port monitor pmtag, or, if /etc/saf/pmtag/_config exists, it replaces _config with the contents of script. Other combinations of options with -g are invalid.
pmadm -g -p pmtag -s svctag [ -z script ] pmadm -g -s svctag -t type -z scriptPer-service configuration scripts are interpreted by the port monitor before the service is invoked.
The -g option is used to print, install, or replace a per-service configuration script. The -g option with a -p option and a -s option prints the per-service configuration script for service svctag available through port monitor pmtag. The -g option with a -p option, a -s option, and a -z option installs the per-service configuration script contained in the file script as the per-service configuration script for service svctag available through port monitor pmtag. The -g option with a -s option, a -t option, and a -z option installs the file script as the per-service configuration script for service svctag available through any port monitor of type type. Other combinations of options with -g are invalid.