JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
System Administration Guide: Advanced Administration
search filter icon
search icon

Document Information

Preface

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)

Service Access Controller (SAC Program)

SAC Initialization Process

Port Monitor Service Administration (pmadm)

ttymon Port Monitor

Port Initialization Process

Bidirectional Service

TTY Monitor and Network Listener Port Monitors

TTY Port Monitor (ttymon)

ttymon and the Console Port

ttymon-Specific Administrative Command (ttyadm)

Network Listener Service (listen)

Special listen-Specific Administrative Command (nlsadmin)

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)

Administering ttymon Services

How to Add a Service

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)

Files That Are Associated With the SAF

/etc/saf/_sactab File

/etc/saf/pmtab/_pmtab File

Service States

Port Monitor States

Port States

4.  Managing System Resources (Overview)

5.  Displaying and Changing System Information (Tasks)

6.  Managing Disk Use (Tasks)

7.  Managing UFS Quotas (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)

15.  Managing System Messages

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)

21.  Troubleshooting Software Package Problems (Tasks)

Index

TTY Monitor and Network Listener Port Monitors

Though the SAF provides a generic means for administering any future or third-party port monitors, only two port monitors are implemented in the Oracle Solaris release: ttymon and listen.

TTY Port Monitor (ttymon)

The ttymon port monitor is STREAMS-based and does the following:

The ttymon port monitor provides 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 Port

Console 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/nohangup

Specifies the nohangup property. If set to true, do not force a line hang up by setting the line speed to zero before setting the default or specified speed.

ttymon/prompt

Specifies the prompt string for the console port.

ttymon/terminal_type

Specifies the default terminal type for the console.

ttymon/device

Specifies the console device.

ttymon/label

Specifies the TTY label in the /etc/ttydefs line.

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 Oracle Solaris OS, 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.