monitor
system/ptp/monitor
Conditions: !smips
Syscap: ptp
Type: Command
Show the detailed status and synchronization accuracy of a PTP profile instance, monitor <number or name>.
| Read-only Argument | Type | Description |
|---|---|---|
| name | string | Name of the PTP profile instance |
| clock-id | string | Identifier of the local clock |
| priority1 | num | The local priority1 value in the grandmaster election |
| priority2 | num | The local priority2 value in the grandmaster election |
| i-am-gm | bool | Whether this device is the grandmaster clock |
| gm-clock-id | string | Identifier of the grandmaster clock |
| gm-priority1 | num | The priority1 of the grandmaster clock |
| gm-priority2 | num | The priority2 of the grandmaster clock |
| master-clock-id | string | Identifier of the master clock in the PTP path (the grandmaster clock or a boundary clock) |
| slave-port | iface_enum | The local port connected towards the master clock |
| freq-drift | num | Frequency drift between the master and the slave clock, in parts per billion |
| offset | num | Time difference between the master and the slave clock, in nanoseconds |
| slave-port-delay | num | Measured delay for packets between the two clocks, in nanoseconds (cable and transceiver lengths matter) |