Skip Navigation Links | |
Exit Print View | |
System Administration Guide: Advanced Administration Oracle Solaris 11 Express 11/10 |
1. Managing Terminals, Modems and Serial Port Services (Tasks)
Terminals, Modems, Ports, and Services
Overview of the Service Access Facility
Using the Service Access Facility
Managing Serial Ports (Task Map)
Overall SAF Administration (sacadm)
Service Access Controller (SAC Program)
Port Monitor Service Administration (pmadm)
TTY Monitor and Network Listener Port Monitors
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)
How to View the Status of a TTY Port Service
How to Enable a Port Monitor Service
How to Disable a Port Monitor Service
2. Displaying and Changing System Information (Tasks)
3. Scheduling System Tasks (Tasks)
4. Managing System Processes (Tasks)
5. Monitoring System Performance (Tasks)
6. Troubleshooting Software Problems (Tasks)
7. Managing Core Files (Tasks)
8. Managing System Crash Information (Tasks)
This section includes reference information for administration of the Service Access Facility.
The SAF uses configuration files that can be modified by using the sacadm and pmadm commands. You should not need to manually edit the configuration files.
|
The information in the /etc/saf/_sactab file is as follows:
# VERSION=1 zsmon:ttymon::0:/usr/lib/saf/ttymon #
Indicates the Service Access Facility version number.
Is the name of the port monitor.
Is the type of port monitor.
Indicates whether the following two flags are set:
Do not enable the port monitor.
Do not start the port monitor. No flags are set in this example.
Indicates the return code value. A return count of 0 indicates that the port monitor is not be restarted if the port monitor fails.
Indicates the port monitor path name.
The /etc/saf/pmtab/_pmtab file, such as /etc/saf/zsmon/_pmtab, is similar to the following:
# VERSION=1 ttya:u:root:reserved:reserved:reserved:/dev/term/a:I::/usr/bin/login::9600: ldterm,ttcompat:ttya login\: ::tvi925:y:#
Indicates the Service Access Facility version number.
Indicates the service tag.
Identifies whether the following flags are set:
Do not enable the service.
Create a utmpx entry for the service.
Indicates the identity assigned to the service tag.
This field is reserved for future use.
This field is reserved for future use.
This field is reserved for future use.
Indicates the TTY port path name.
Identifies the full path name of the service to be invoked when a connection is received.
Indicates whether the following flags are set:
Sets the connect on carrier flag for the port.
Sets the port as bidirectional, allowing both incoming and outgoing traffic.
Suppresses an automatic hand-up immediately after an incoming call is received.
Initializes the port.
Forces ttymon to wait until it receives a character from the port before ttymon prints the login:message.
Identifies the TTY label defined in the /etc/ttydefs file.
Identifies the STREAMS modules to be pushed.
Identifies the prompt to be displayed.
Indicates yes or no response.
Identifies any inactive (disabled) response message.
Identifies the terminal type.
Indicates whether the software carrier is set (y/n).
The sacadm command controls the states of services. The following list describes the possible states of services.
Default state. When the port monitor is added, the service operates.
Default state. When the port monitor is removed, the service stops.
To determine the state of any particular service, use the following:
# pmadm -l -p portmon-name -ssvctag
The sacadm command controls the states of the ttymon and listen port monitors. The following table describes the possible port monitor states.
|
To determine the state of any particular port monitor, use the following command:
# sacadm -l -p portmon-name
Ports can be enabled or disabled depending on the state of the port monitor that controls the ports.
|