|
|
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,
``tty'',
to a listener with pmtag
``tcp''
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"
See pmadm(1M) and nlsadmin(1M) for a full description of the pmadm command line options.