The following command line adds a port monitor. The port monitor tag is npack; its type is listen; if necessary, it will restart three times before failing; its
administrative command is nlsadmin; and the configuration script to be read is in the file script:
|
sacadm -a -p npack -t listen -c /usr/lib/saf/listen npack
-v `nlsadmin -V` -n 3 -z script
|
Remove a port monitor whose tag is pmtag:
Start the port monitor whose tag is pmtag:
Stop the port monitor whose tag is pmtag:
Enable the port monitor whose tag is pmtag:
Disable the port monitor whose tag is pmtag:
List status information for all port monitors:
List status information for the port monitor whose tag is pmtag:
List the same information in condensed format:
List status information for all port monitors whose type is listen:
Replace the per-port monitor configuration script associated with the port monitor whose tag is pmtag with the contents of the file file.config:
|
sacadm -g -p pmtag -z file.config
|
|