Como ler ptpd-stats.log

1

Aqui está uma linha de ptpd-stats.log

2018-04-12 15:22:30.028085, slv, 000efefffe010e5a(unknown)/1,  0.000033858, -0.000008460,  0.000034260,  0.000013035, -16399.833000000, S, 0.000033809, 51, 0.000001184, 6355, -16384, 15,  0.000013035,  0.000034260

Qual é o significado de cada coluna? Eu já tentei pesquisar na web por essas informações.

    
por LINUX G33NYUS 13.04.2018 / 21:38

1 resposta

2

De acordo com o artigo da KB da IBM para o daemon ptp o arquivo de log é formatado da seguinte forma:

  • Timestamp

    Time when the message was received. The date and time information are represented as text, UNIX time stamp (with fractional seconds), or both forms (in this case, an extra field is added), depending on the global:statistics_timestamp_format setting. When you import the log file to plotting software, if the software can understand UNIX time, set the time stamp format to unix or both, because some software do not interpret the fractional part of the second when it converts the date and time from text.

  • Estado

    The state of the port. For more information about various port states, see PTP daemon port states.

  • ID do relógio

    Port identity of the current best master, as defined by IEEE 1588 standard. This ID is the local clock's ID if the local clock is the best master. This parameter is displayed as clock_id or port (host). Port is the PTP clock port number, not the User Datagram Protocol (UDP) port numbers. The clock ID is an Extended Unique Identifier (EUI)-64 64-bit ID, converted from the 48-bit MAC address, by inserting 0xfffe at the middle of the MAC address.

  • Atraso de mão única

    Current value of one-way delay (or mean-path delay) in seconds, calculated by the ptpd daemon that is in the slave state from the delay request and delay response message exchange.

  • Deslocamento do mestre

    Current offset value from master device in seconds. It is the main output of the PTP engine that is in the slave state. This value is the input for clock corrections in the clock servo algorithms. This value is typically measured when estimating the performance of the slave device.

  • Escravo para dominar

    Intermediate offset value (seconds) extracted from the delay request and delay response message exchange. This value is used for computing one-way delay. If the last value was rejected by a filter, the previous value is shown in the log file. This value is zero (0) if the delay response messages are not received.

  • Mestre para escravo

    Intermediate offset value (seconds) extracted from the sync messages. This value is used for computing the offset value from the master devices. If the last value was rejected by a filter, the previous value is shown in the log file.

  • deriva observada

    The frequency difference between the slave clock and the master clock as measured by the integral accumulator of the clock control proportional integral (PI) servo model. This value stabilizes when the clock offset value is stabilized, and this value is used to detect clock stability.

  • Último pacote recebido

    This field shows which message was received last. It displays S for sync messages and D for delay response messages. If a slave device logs no D entries, it means that the slave device is not receiving delay response messages because of network issue.

  • Retardo unidirecional

    One-way delay mean computed over the last sampling window.

  • Desvio padrão de atraso unidirecional

    One-way delay standard deviation computed over the last sampling window.

  • Offset from master mean

    Offset from master mean computed over the last sampling window.

  • Deslocamento do mestre std dev

    Offset from master standard deviation computed over the last sampling window.

  • Desvio observado significa

    Observed drift or local clock frequency adjustment mean computed over the last sampling window.

  • desvio de std de desvio observado

    Observed drift or local clock frequency adjustment standard deviation computed over the last sampling window. A lower value indicates that the clock is controlled less aggressively. Therefore, the value is more stable.

por 13.04.2018 / 22:01

Tags