DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Administering the listen port monitor

Adding a listen port monitor

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.


NOTE: If the port monitor being added has the same name as an existing port monitor, you must remove the old one before adding the new one.

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),


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004