This chapter describes how to manage serial port services using the Service Access Facility (SAF).
Also included in this chapter is information on how to perform console administration with the Service Management Facility (SMF).
The SAF and SMF are two different tools in the Solaris OS. Starting with the Solaris 10 release, ttymon invocations on the system console are now managed by SMF. The SAF tool is still used to administer terminals, modems, and other network devices.
This is a list of the overview information in this chapter.
For information on the step-by-step procedures that are associated with managing serial ports , see the following:
For reference information about the SAF, see Service Access Facility Administration (Reference).
Task |
Description |
For Instructions |
---|---|---|
Perform console administration. |
You might need to perform the following console administration tasks:
|
How to Set the ttymon Console Terminal Type
How to Set the Baud Rate Speed on the ttymon Console Terminal |
Add a ttymon port monitor. |
Use the sacadm command to add a ttymon port monitor. | |
View a ttymon port monitor status. |
Use the sacadm command to view ttymon port monitor status. | |
Stop a ttymon port monitor. |
Use the sacadm command to stop a ttymon port monitor. | |
Start a ttymon port monitor. |
Use the sacadm command to start a ttymon port monitor. | |
Disable a ttymon port monitor. |
Use the sacadm command to disable a ttymon port monitor. | |
Enable a ttymonport monitor. |
Use the sacadm command to enable a ttymon port monitor. | |
Remove a ttymon port monitor. |
Use the sacadm command to remove a ttymon port monitor. |
You can set up terminals and modems with the Solaris Management Console's Serial Ports tool or the SAF commands.
The SAF is a tool that is used to administer terminals, modems, and other network devices. The top-level SAF program is the Service Access Controller (SAC). The SAC controls port monitors that you administer through the sacadm command. Each port monitor can manage one or more ports.
You administer the services associated with ports through the pmadm command. While services provided through the SAC can differ from network to network, the SAC and its administrative commands, sacadm and pmadm, are network independent.
The following table describes the SAF control hierarchy. The sacadm command is used to administer the SAC, which controls the ttymon and listen port monitors.
The services of ttymon and listen are in turn controlled by the pmadm command. One instance of ttymon can service multiple ports. One instance of listen can provide multiple services on a network interface.
Table 3–1 SAF Control Hierarchy
Function |
Program |
Description |
---|---|---|
Overall administration |
sacadm |
Command for adding and removing port monitors |
Service Access Controller |
sac |
SAF's master program |
Port monitors |
ttymon listen |
Monitors serial port login requests Monitors requests for network services |
Port monitor service administrator |
pmadm |
Command for controlling port monitors services |
Services |
logins, remote procedure calls |
Services to which the SAF provides access |
Console administration |
console login |
Console services are managed by the SMF service, svc:/system/console-login:default. This service invokes the ttymon port monitor. Do not use the pmadm or the sacadm command to manage the console. For more information, see ttymon and the Console Port, How to Set the ttymon Console Terminal Type, and How to Set the Baud Rate Speed on the ttymon Console Terminal. |
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.
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.
The following steps summarize what happens when SAC is first started:
The SAC program is started by the SMF service, svc:/system/sac:default.
The SAC program reads /etc/saf/_sysconfig, the per-system configuration script.
The SAC program reads /etc/saf/_sactab, the SAC administrative file.
The SAC program forks a child process for each port monitor it starts.
Each port monitor reads /etc/saf/pmtag/_config, the per-port monitor configuration script.
The pmadm command enables you to administer port monitors' services. In particular, you use the pmadm command to add or remove a service and to enable or disable a service. You can also install or replace per-service configuration scripts, or print information about a service.
Each instance of a service must be uniquely identified by a port monitor and a port. When you use the pmadm command to administer a service, you specify a particular port monitor with the pmtag argument, and a particular port with the svctag argument.
For each port monitor type, the SAF requires a specialized command to format port monitor-specific configuration data. This data is used by the pmadm command. For ttymon and listen type port monitors, these specialized commands are ttyadm and nlsadmin, respectively.
Whenever you attempt to log in by using a directly connected modem or alphanumeric terminal, ttymon goes to work. First, the SAC process is started by SMF. Then, the SAC automatically starts the port monitors that are designated in its administrative file, /etc/saf/_sactab. After the ttymon port monitor has been started, it monitors the serial port lines for service requests.
When someone attempts to log in by using an alphanumeric terminal or a modem, the serial port driver passes the activity to the operating system. The ttymon port monitor notes the serial port activity, and attempts to establish a communications link. The ttymon port monitor determines which data transfer rate, line discipline, and handshaking protocol are required to communicate with the device.
After the proper parameters for communication with the modem or terminal are established, the ttymon port monitor passes these parameters to the login program and transfers control to it.
When an instance of the ttymon port monitor is invoked by the SAC, ttymon starts to monitor its ports. For each port, the ttymon port monitor first initializes the line disciplines, if they are specified, and the speed and terminal settings. The values used for initialization are taken from the appropriate entry in the /etc/ttydefs file.
The ttymon port monitor then writes the prompt and waits for user input. If the user indicates that the speed is inappropriate by pressing the Break key, the ttymon port monitor tries the next speed and writes the prompt again.
If autobaud is enabled for a port, the ttymon port monitor tries to determine the baud rate on the port automatically. Users must press Return before the ttymon port monitor can recognize the baud rate and print the prompt.
When valid input is received, the ttymon port monitor does the following tasks:
Interprets the per-service configuration file for the port
Creates an /etc/utmpx entry, if required
Establishes the service environment
Invokes the service associated with the port
After the service terminates, the ttymon port monitor cleans up the /etc/utmpx entry, if this entry exists, and returns the port to its initial state.
If a port is configured for bidirectional service, the ttymon port monitor does the following:
Allows users to connect to a service
Allows the uucico, cu, or ct commands to use the port for dialing out, if the port is free
Waits to read a character before printing a prompt
Invokes the port's associated service, without sending the prompt message, when a connection is requested, if the connect-on-carrier flag is set
Though 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.
The ttymon port monitor is STREAMS-based and does the following:
Monitors ports
Sets terminal modes, baud rates, and line disciplines
Invokes the login process
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.
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:
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.
Specifies the prompt string for the console port.
Specifies the default terminal type for the console.
Specifies the console device.
Specifies the TTY label in the /etc/ttydefs line.
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.
The listen port monitor runs under the SAC and does the following:
Monitors the network for service requests
Accepts requests when they arrive
Invokes servers in response to those service requests
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.
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.
Console administration for ttymon is now managed by SMF. Use the svccfg command to set ttymon system console properties. Continue to use the SAF command, sacadm, to add, list, remove, kill, start, enable, disable, enable, and remove ttymon port monitors.
This procedure shows how to change the console terminal type by using the svccfg command.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Run the svccfg command to set the property for the service instance that you want to change.
# svccfg -s console-login setprop ttymon/terminal_type = "xterm" |
where “xterm” is an example of a terminal type that you might want to use.
(Optional) Restart the service instance.
# svcadm restart svc:/system/console-login:default |
If you choose to restart the service instance immediately, you are logged out of the console. If you do not restart the service instance immediately, the property changes apply at the next login prompt on the console.
This procedure shows how to set the baud rate speed on the ttymon console terminal. Support for console speeds on x86 based systems are dependent on the specific platform.
The following are supported console speeds for SPARC based systems:
9600 bps
19200 bps
38400 bps
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Use the eeprom command to set a baud rate speed that is appropriate for your system type.
# eeprom ttya-mode=baud-rate,8,n,1,- |
For example, to change the baud rate on an x86 based system's console to 38400, type:
# eeprom ttya-mode=38400,8,n,1,- |
Change the console line in the /etc/ttydefs file as follows.
console baud-rate hupcl opost onlcr:baud-rate::console |
Make the following additional changes for your system type.
Note that these changes are platform-dependent.
On SPARC based systems: Change the baud rate speed in the /kernel/drv/options.conf file.
Use the following command to change the baud rate to 9600.
# 9600 :bd: ttymodes="2502:1805:bd:8a3b:3:1c:7f:15:4:0:0:0:11:13:1a:19:12:f:17:16"; |
Use the following command to change the baud rate speed to 19200.
# 19200 :be: ttymodes="2502:1805:be:8a3b:3:1c:7f:15:4:0:0:0:11:13:1a:19:12:f:17:16"; |
Use the following command to change the baud rate speed to 38400.
# 38400 :bf: ttymodes="2502:1805:bf:8a3b:3:1c:7f:15:4:0:0:0:11:13:1a:19:12:f:17:16"; |
On x86 based systems: Change the console speed if the BIOS serial redirection is enabled. The method that you use to change the console speed is platform-dependent.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
# sacadm -a -p mbmon -t ttymon -c /usr/lib/saf/ttymon -v `ttyadm -V` -y "TTY Ports a & b" |
Specifies the add port monitor option.
Specifies the pmtag mbmon as the port monitor tag.
Specifies the port monitor type as ttymon.
Defines the command string used to start the port monitor.
Specifies the version number of the port monitor.
Defines a comment to describe this instance of the port monitor.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
View the status of a ttymon port monitor.
# sacadm -l -p mbmon |
Specifies the list port monitor status flag.
Specifies the pmtag mbmon as the port monitor tag.
This example shows how to view a port monitor named, mbmon.
# sacadm -l -p mbmon PMTAG PMTYPE FLGS RCNT STATUS COMMAND mbmon ttymon - 0 STARTING /usr/lib/saf/ttymon #TTY Ports a & b |
Identifies the port monitor name, mbmon.
Identifies the port monitor type, ttymon.
Indicates whether the following flags are set:
d — Do not enable the new port monitor.
x — Do not start the new port monitor.
dash (-) — No flags are set.
Indicates the return count value. A return count of 0 indicates that the port monitor is not to be restarted if it fails.
Indicates the current status of the port monitor.
Identifies the command used to start the port monitor.
Identifies any comment used to describe the port monitor.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
# sacadm -k -p mbmon |
Specifies the kill port monitor status flag.
Specifies the pmtag mbmon as the port monitor tag.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Start a killed ttymon port monitor.
# sacadm -s -p mbmon |
Specifies the start port monitor status flag.
Specifies the pmtag mbmon as the port monitor tag.
Disabling a port monitor prevents new services from starting, without affecting existing services.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Disable a ttymon port monitor.
# sacadm -d -p mbmon |
Specifies the disable port monitor status flag.
Specifies the pmtag mbmon as the port monitor tag.
Enabling a ttymon port monitor allows it to service new requests.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Enable a ttymon port monitor.
# sacadm -e -p mbmon |
Specifies the enable port monitor status flag.
Specifies the pmtag mbmon as the port monitor tag.
Removing a port monitor deletes all the configuration files associated with it.
Port monitor configuration files cannot be updated or changed by using the sacadm command. To reconfigure a port monitor, remove it and then add a new one.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Remove a ttymon port monitor.
# sacadm -r -p mbmon |
Specifies the remove port monitor status flag.
Specifies the pmtag mbmon as the port monitor tag.
Task |
Description |
For Instructions |
---|---|---|
Add a ttymon service. |
Use the pmadm command to add a service. | |
View the Status of a TTY Port Service. |
Use the pmadmcommand to view the status of a TTY port. | |
Enable a port monitor service. |
Use the pmadm command with the -e option to enable a port monitor. | |
Disable a port monitor service. |
Use the pmadm command with the -d option to disable a port monitor. |
Use the pmadm command to add services, list the services of one or more ports associated with a port monitor, and enable or disable a service.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Add a standard terminal service to the mbmon port monitor.
# pmadm -a -p mbmon -s a -i root -v `ttyadm -V` -m "`ttyadm -i 'Terminal disabled' -l contty -m ldterm,ttcompat -S y -d /dev/term/a -s /usr/bin/login`" |
In this example, the input wraps automatically to the next line. Do not use a Return key or line feed.
Specifies the add port monitor status flag.
Specifies the pmtag mbmon as the port monitor tag.
Specifies the svctag a as the port monitor service tag.
Specifies the identity to be assigned to svctag when the service runs.
Specifies the version number of the port monitor.
Specifies the ttymon-specific configuration data formatted by ttyadm.
The preceding pmadm command contains an embedded ttyadm command. The options in this embedded command are as follows:
Specifies the bidirectional port flag.
Specifies the inactive (disabled) response message.
Specifies which TTY label in the /etc/ttydefs file to use.
Specifies the STREAMS modules to push before invoking this service.
Specifies the full path name to the device to use for the TTY port.
Specifies the full path name of the service to invoke when a connection request is received. If arguments are required, enclose the command and its arguments in quotation marks (“).
Use the pmadm command as shown in this procedure to list the status of a TTY port or all the ports that are associated with a port monitor.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
List one service of a port monitor.
# pmadm -l -p mbmon -s a |
Lists service information on the system.
Specifies the pmtag mbmon as the port monitor tag.
Specifies the svctag a as the port monitor service tag.
This example lists all services of a port monitor.
# pmadm -l -p mbmon PMTAG PMTYPE SVCTAG FLAGS ID <PMSPECIFIC> mbmon ttymon a - root /dev/term/a - - /usr/bin/login - contty ldterm,ttcompat login: Terminal disabled tvi925 y # |
Identifies the port monitor name, mbmon, that is set by using the pmadm -p command.
Identifies the port monitor type, ttymon.
Indicates the service tag value that is set by using the pmadm -s command.
Identifies whether the following flags are set by using the pmadm -f command.
x — Do not enable the service.
u — Create a utmpx entry for the service.
dash (-) — No flags are set.
Indicates the identity assigned to the service when it is started. This value is set by using the pmadm -i command.
Information
Indicates the TTY port path name that is set by using the ttyadm -d command.
Indicates whether the following flags are set by using the ttyadm -c -b -h -I -r command.
c — Sets the connect on carrier flag for the port.
b — Sets the port as bidirectional, allowing both incoming and outgoing traffic.
h — Suppresses an automatic hangup immediately after an incoming call is received.
I — Initializes the port.
r— Forces ttymon to wait until it receives a character from the port before it prints the login: message.
dash (-) — No flags are set.
Indicates a value that is set by using the ttyadm -r count option. This option determines when ttymon displays a prompt after receiving data from a port. If count is 0, ttymon waits until it receives any character. If count is greater than 0, ttymon waits until count new lines have been received. No value is set in this example.
Identifies the full path name of the service to be invoked when a connection is received. This value is set by using the ttyadm -s command.
Identifies the ttyadm -t command's time-out value. This option specifies that ttymon should close a port if the open on the port succeeds, and no input data is received in timeout seconds. There is no time-out value in this example.
Identifies the TTY label in the /etc/ttydefs file. This value is set by using the ttyadm -l command.
Identifies the STREAMS modules to be pushed. These modules are set by using the ttyadmin -m command.
Identifies an inactive message to be displayed when the port is disabled. This message is set by using the ttyadm -i command.
Identifies the terminal type, if set, by using the ttyadm -T command. The terminal type is tvi925 in this example.
Identifies the software carrier value that is set by using the ttyadm -S command. n turns the software carrier off. y turns the software carrier on. The software carrier is turned on in this example.
Identifies any comment specified with the pmadm -y command. There is no comment in this example.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Enable a disabled port monitor service.
# pmadm -e -p mbmon -s a |
Specifies the enable flag.
Specifies the pmtag mbmon as the port monitor tag.
Specifies the svctag a as the port monitor service tag.
Become superuser or assume an equivalent role.
Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.
Disable a port monitor service.
# pmadm -d -p mbmon -s a |
Specifies the disable flag.
Specifies the pmtag mbmon as the port monitor tag.
Specifies the svctag a as the port monitor service tag.
This chapter 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.
File Name |
Description |
---|---|
/etc/saf/_sysconfig |
Per-system configuration script. |
/etc/saf/_sactab |
The SAC's administrative file that contains configuration data for the port monitors that the SAC controls |
/etc/saf/pmtag |
Home directory for port monitor pmtag |
/etc/saf/pmtag/_config |
Per-port monitor configuration script for port monitor pmtag if it exists |
/etc/saf/pmtag/_pmtab |
Port monitor pmtag's administrative file that contains port monitor-specific configuration data for the services pmtag provides |
/etc/saf/pmtag/svctag |
Per-service configuration script for service svctag |
/var/saf/log |
The SAC's log file |
/var/saf/pmtag |
Directory for files created by pmtag, for example, log 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:
d — Do not enable the port monitor.
x — 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:
x — Do not enable the service.
u — 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:
c — Sets the connect on carrier flag for the port.
b — Sets the port as bidirectional, allowing both incoming and outgoing traffic.
h — Suppresses an automatic hangup immediately after an incoming call is received.
I — Initializes the port.
r — 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 table describes the possible states of services.
State |
Description |
---|---|
Enabled |
Default state – When the port monitor is added, the service operates. |
Disabled |
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.
State |
Description |
---|---|
Started |
Default state – When the port monitor is added, it is automatically started. |
Enabled |
Default state – When the port monitor is added, it is automatically ready to accept requests for service. |
Stopped |
Default state – When the port monitor is removed, it is automatically stopped. |
Disabled |
Default state – When the port monitor is removed, it automatically continues existing services and refuses to add new services. |
Starting |
Intermediate state – The port monitor is in the process of starting. |
Stopping |
Intermediate state – The port monitor has been manually terminated, but it has not completed its shutdown procedure. The port monitor is on the way to becoming stopped. |
Notrunning |
Inactive state – The port monitor has been killed. All ports previously monitored are inaccessible. An external user cannot tell whether a port is disabled or notrunning. |
Failed |
Inactive state – The port monitor is unable to start and remain running. |
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.
State |
Description |
---|---|
Serial (ttymon) port states |
|
Enabled |
The ttymon port monitor sends a prompt message to the port and provides login service to it. |
Disabled |
Default state of all ports if ttymon is killed or disabled. If you specify this state, ttymon sends out the disabled message when it receives a connection request. |