[Next] [Previous] [Up] [Top] [Contents]

17.6 Network Port Monitors

17.6.4 Adding Services to the Listener

The nlsadmin command is used to present listen-specific configuration information to the pmadm command. It associates an instance of a listen process with the specific service called for by that listener.

To add a service use pmadm and nlsadmin, e.g. to add a listen process for the SunOS5.X print request:

# pmadm -a -p tcp -s lp -i root -v 'nlsadmin -V' -m "'nlsadmin -o /var/spool/lp/fifos/listenS5'"
where for nlsadmin the option
-o specifies the full pathname to the FIFO or named STREAM used by the server process to receive the connection


Unix System Administration - 8 AUG 1996
[Next] [Previous] [Up] [Top] [Contents]