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

Document Information


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)


Overall SAF Administration (sacadm)

The sacadm command is the top level of the SAF. The sacadm command primarily is used to add and remove port monitors such as ttymon and listen. Other sacadm functions include listing the current status of port monitors and administering port monitor configuration scripts.

Service Access Controller (SAC Program)

The Service Access Controller program (SAC) oversees all port monitors. A system automatically starts the SAC upon entering multiuser mode.

When the SAC program is invoked, it first looks for, and interprets, each system's configuration script. You can use the configuration script to customize the SAC program environment. This script is empty by default. The modifications made to the SAC environment are inherited by all the “children” of the SAC. This inherited environment might be modified by the children.

After the SAC program has interpreted the per-system configuration script, the SAC program reads its administrative file and starts the specified port monitors. For each port monitor, the SAC program runs a copy of itself, forking a child process. Each child process then interprets its per-port monitor configuration script, if such a script exists.

Any modifications to the environment specified in the per-port monitor configuration script affect the port monitor and will be inherited by all its children. Finally, the child process runs the port monitor program by using the command found in the SAC program administrative file.

SAC Initialization Process

The following steps summarize what happens when SAC is first started:

  1. The SAC program is started by the SMF service, svc:/system/sac:default.

  2. The SAC program reads /etc/saf/_sysconfig, the per-system configuration script.

  3. The SAC program reads /etc/saf/_sactab, the SAC administrative file.

  4. The SAC program forks a child process for each port monitor it starts.

  5. Each port monitor reads /etc/saf/pmtag/_config, the per-port monitor configuration script.