Adding a service
To add a new service to a listener, use the following command:
pmadm -a -p pmtag -s svctag [-i id ] [ -S "scheme"] \
-m "`nlsadmin options`" -v `nlsadmin -V` [-y "comment"]
The following example adds a new service,
to a listener with pmtag
running as a port monitor
under the SAF:
pmadm -a -p tcp -s tty -i -S login \
-m "`nlsadmin -c /usr/bin/shserv \
-p ntty,tirdwr,ldterm \
-A \\\x00020ACF810b8b6e0000000000000000`" \
-v `nlsadmin -V` -y "Server-side for cu"
The same address cannot be monitored by more than one
listen port monitor at any given time.
The first attempt to listen on an address
will bind successfully;
subsequent attempts will fail to bind.
If both static and dynamic addresses
are monitored by more than one listener,
the static addresses are bound first,
then the dynamic addresses.
Mixing multiple listeners--each of which has
static and dynamic addresses specified--may
result in unpredictable behavior.
for a full description of the
pmadm command line options.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004