|
|
To add a listen port monitor,
use the following command:
sacadm -a -p pmtag -t type -c "cmd" -v `pmspecific -V` \
[-n count] [-f dx] [-z script ] [-y "comment"]
This command adds a line to the SAC administrative file.
The following example shows how the listener's
administrative command, nlsadmin, can be used to
obtain the current version number of the listener's administrative
file when used with sacadm to
add a listen port monitor:
sacadm -a -p tcp -t listen \
-c "/usr/lib/saf/listen -m inet/tcp0 tcp" \
-v `nlsadmin -V`
The options that may be used with sacadm -a are described in ``Adding a port monitor'', sacadm(1M), and nlsadmin(1M),