|
|
The Service Access Facility (SAF) provides a generic interface to which all port monitors must conform. ttymon is a port monitor under the SAF's controller, the Service Access Controller (SAC). (See ``The Service Access Facility'', ``Administering port monitors'', and ``Administering port services'' for a description of the SAF, the administrative files it maintains, and the commands used for port monitor and service administration.) ``How tty services are invoked'' shows how a service, which is usually a shell service, is invoked using ttymon.
How tty services are invoked
There can be multiple invocations of ttymon port monitors, each identified by a unique pmtag. Each of these port monitors can monitor multiple ports for incoming connection requests.
A port has one and only one service associated with it. Each port, and its associated service, is identified by a service tag, svctag. Service tags for any given port monitor are unique.
When the SAC daemon starts a port monitor, the port monitor reads its administrative file, which contains information about which ports to monitor and what service (that is, process) is associated with each port.