System Administration Guide: Advanced Administration

How to View ttymon Port Monitor Status

To see the status of a ttymon port monitor, type the following:


# sacadm -l -p mbmon

-l

The list port monitor status flag.

-p

Specifies the pmtag mbmon as the port monitor tag.

Example—Viewing ttymon Port Monitor Status


# sacadm -l -p mbmon
PMTAG  PMTYPE  FLGS RCNT STATUS    COMMAND
mbmon  ttymon  -    0    STARTING  /usr/lib/saf/ttymon #TTY Ports a & b

PMTAG

mbmon

Identifies the port monitor name, mbmon.

PMTYPE

ttymon

Identifies the port monitor type, ttymon.

FLGS

-

Indicates whether the following two flags are set: 

d, do not enable the new port monitor, or

x, do not start the new port monitor. There are no flags set in this example.

RCNT

0

Indicates the return count value. A return count of 0 indicates that the port monitor is not to be restarted if it fails.

STATUS

STARTING

Indicates the current status of the port monitor. 

COMMAND

/usr/lib/saf ...

Identifies the command used to start the port monitor. 

#TTY Ports a & b

Identifies any comment used to describe the port monitor.