System Administration Guide: Advanced Administration

ProcedureHow to View ttymon Port Monitor Status

  1. 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.

  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 3–1 Viewing ttymon Port Monitor Status

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
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.