17.6 Network Port Monitors
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