lsstp - Show STP configuration information

Red Hat Enterprise Linux 8.6 LPAR mode

Use the lsstp command to display information about the current Server Time Protocol (STP) configuration like Coordinated Timing Network (CTN) ID, timing state, and leap seconds.

lsstp syntax


1  lsstp
1  -h
1  -v
Where:
-h or --help
displays a short help text. To view the man page, enter man lsstp.
-v or --version
displays the version of the lsstp command.
Output description:
STP online
Indication of the online state.
CTN ID
The ID of the CTN. If it can be decoded as EBCDIC, it is shown as an EBCDIC string, otherwise a hexadecimal representation is shown.
CTN Type
The type of timing network.
No CTN
STP is not configured for attachment to a CTN.
STP-only
STP is configured and attached to a CTN with only STP nodes.
Mixed
STP is configured and attached to a CTN with both STP and external time reference (ETR) nodes.
Stratum
The number of servers in the timing path between the local STP clock and the selected primary time server.
Timing mode
The timing mode of the Time-of-day (TOD) clock.
Local
The TOD clock is stepped by the local hardware oscillator and is not steered by the STP facility.
ETR
The TOD clock is synchronized with an attached 9037 Sysplex Timer.
STP
The TOD clock is steered by the STP facility to maintain synchronization with a Coordinated Server Time (CST).
Uninitialized
The TOD clock is not initialized. The STP facility is allowed to perform a step adjustment to the TOD clock for synchronization.
Timing state
The synchronization state of the STP facility. Can be unsynchronized, synchronized, or stopped.
DST offset
The Daylight Savings Time (DST) offset relative to UTC in minutes.
Timezone offset
The offset of the local time relative to UTC in minutes.
Time offset
The total time offset at the server. This field is valid only in mixed CTN configurations.
Active leap seconds
The number of leap seconds that are currently in effect at the STP facility.
Scheduled leap second
If a leap second insertion or deletion is scheduled in the STP facility, this field shows the day and time of the scheduled change.

Example

  • # lsstp
    STP online:            yes
    CTN ID:                STPM46
    CTN type:              STP-only
    Stratum:               1
    Timing mode:           STP
    Timing state:          Synchronized
    DST offset:            60
    Timezone offset:       60
    Time offset:           120
    Active leap seconds:   27
    Scheduled leap second: -