System Administration Guide: Advanced Administration

How to View ttymon Port Monitor Status

  1. Become superuser.

  2. View the status of a ttymon port monitor.


    # sacadm -l -p mbmon
    

    -l

    Specifies 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

Identifies the port monitor name, mbmon.

PMTYPE

Identifies the port monitor type, ttymon.

FLGS

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

RCNT

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

STATUS

Indicates the current status of the port monitor. 

COMMAND

Identifies the command used to start the port monitor. 

#TTY Ports a & b

Identifies any comment used to describe the port monitor.