The main mechanism for gaining access to a service is through a port monitor. A port monitor is a program that continuously monitors for requests to log in or access printers or files.
When a port monitor detects a request, it sets whatever parameters are required to establish communication between the operating system and the device requesting service. Then the port monitor transfers control to other processes that provide the services needed.
The following table describes the two types of port monitors included in the Solaris environment.
Table 10–1 Port Monitor Types
You might be familiar with an older port monitor called getty(1M). The new ttymon is more powerful. A single ttymon can replace multiple occurrences of getty. Otherwise, these two programs serve the same function.