|
|||
1. Managing Terminals and Modems (Overview) 2. Setting Up Terminals and Modems (Tasks) 3. Managing Serial Ports With the Service Access Facility (Tasks) Managing Serial Ports (Task Map) Using the Service Access Facility Overall SAF Administration (sacadm) Port Monitor Service Administration (pmadm) Administering ttymon Port Monitors How to Set the ttymon Console Terminal Type How to Set the Baud Rate Speed on the ttymon Console Terminal How to Add a ttymon Port Monitor How to View ttymon Port Monitor Status How to Stop a ttymon Port Monitor How to Start a ttymon Port Monitor How to Disable a ttymon Port Monitor How to Enable a ttymon Port Monitor How to Remove a ttymon Port Monitor Administering ttymon services (Task Map) How to View the Status of a TTY Port Service How to Enable a Port Monitor Service How to Disable a Port Monitor Service Service Access Facility Administration (Reference) 4. Managing System Resources (Overview) 5. Displaying and Changing System Information (Tasks) 8. Scheduling System Tasks (Tasks) 9. Managing System Accounting (Tasks) 10. System Accounting (Reference) 11. Managing System Performance (Overview) 12. Managing System Processes (Tasks) 13. Monitoring System Performance (Tasks) 14. Troubleshooting Software Problems (Overview) 16. Managing Core Files (Tasks) 17. Managing System Crash Information (Tasks) 18. Troubleshooting Miscellaneous Software Problems (Tasks) 19. Troubleshooting File Access Problems (Tasks) 20. Resolving UFS File System Inconsistencies (Tasks) |
TTY Monitor and Network Listener Port MonitorsThough the SAF provides a generic means for administering any future or third-party port monitors, only two port monitors are implemented in the Solaris Operating System: ttymon and listen. TTY Port Monitor (ttymon)The ttymon port monitor is STREAMS-based and does the following:
The ttymon port monitor provides Solaris users the same services that the getty port monitor did under previous versions of SunOS 4.1 software. The ttymon port monitor runs under the SAC program and is configured with the sacadm command. Each instance of ttymon can monitor multiple ports. These ports are specified in the port monitor's administrative file. The administrative file is configured by using the pmadm and ttyadm commands. ttymon and the Console PortConsole services are not managed by the Service Access Controller (SAC), nor by any explicit ttymon administration file. ttymon invocations are managed by SMF. As a result, you can no longer invoke ttymon by adding an entry to the /etc/inittab file. A property group with the type, application, and the name ttymon, has been added to the SMF service, svc:/system/console-login:default. The properties within this property group are used by the method script, /lib/svc/method/console-login. This script uses the property values as arguments to the ttymon invocation. Usually, if the values are empty, or if the values are not defined for any of the properties, then the value is not used for ttymon. However, if the ttymon device value is empty, or not set, then /dev/console is used as the default to enable ttymon to run. The following properties are available under the SMF service, svc:/system/console-login:default:
ttymon-Specific Administrative Command (ttyadm)The ttymon administrative file is updated by the sacadm and pmadm commands, as well as by the ttyadm command. The ttyadm command formats ttymon-specific information and writes it to standard output, providing a means for presenting formatted ttymon-specific data to the sacadm and pmadm commands. Thus, the ttyadm command does not administer ttymon directly. The ttyadm command complements the generic administrative commands, sacadm and pmadm. For more information, see the ttyadm(1M) man page. Network Listener Service (listen)The listen port monitor runs under the SAC and does the following:
The listen port monitor is configured by using the sacadm command. Each instance of listen can provide multiple services. These services are specified in the port monitor's administrative file. This administrative file is configured by using the pmadm and nlsadmin commands. The network listener process can be used with any connection-oriented transport provider that conforms to the Transport Layer Interface (TLI) specification. In the Solaris Operating System, listen port monitors can provide additional network services not provided by the inetd service. Special listen-Specific Administrative Command (nlsadmin)The listen port monitor's administrative file is updated by the sacadm and pmadm commands, as well as by the nlsadmin command. The nlsadmin command formats listen-specific information and writes it to standard output, providing a means of presenting formatted listen-specific data to the sacadm and pmadm commands. Thus, the nlsadmin command does not administer listen directly. The command complements the generic administrative commands, sacadm and pmadm. Each network, configured separately, can have at least one instance of the network listener process associated with it. The nlsadmin command controls the operational states of listen port monitors. The nlsadmin command can establish a listen port monitor for a given network, configure the specific attributes of that port monitor, and start and kill the monitor. The nlsadmin command can also report on the listen port monitors on a machine. For more information, see the nlsadmin(1M) man page. |
||
|