ESXi

PTP statistcs file missing

  • 1.  PTP statistcs file missing

    Posted Jan 17, 2024 01:27 PM

    Hi all,

    unlike what I had verified in the ESXi 7.x version, on the 8.0.2 version I cannot find the ptp statistics file ptpd.stats in the directory /var/run/log/, even if the ptp service is running and the ptp.conf file has a reference to it.

    Any hints about it?

     

    ls /var/run/log/ptpd.stats
    ls: /var/run/log/ptpd.stats: No such file or directory
    esxcli system ptp stats get
    Metric Value
    ------------------ -----
    Announce received 4575
    Clock Source ptp
    Delay mechanism E2E
    DelayReq sent 9023
    DelayResp received 0
    Follow-up received 9148
    Interface vmk0
    Performance Message RX 5/s, TX 1/s
    Pin Count 0
    Port state PTP_SLAVE
    Sync received 9148
    cat /etc/ptp.conf
    ; Do not edit this file, config store overwrites it
    global:statistics_update_interval=10
    global:use_syslog=true
    global:log_status=y
    global:statistics_file=/var/run/log/ptpd.stats
    global:statistics_file_max_size=10240
    global:statistics_file_max_files=9
    ptpengine:domain=0
    ptpengine:preset=slaveonly
    ptpengine:ip_mode=multicast
    ptpengine:use_libpcap=n
    ptpengine:sync_outlier_filter_enable=y
    ptpengine:delay_outlier_filter_enable=y
    ptpengine:ip_dscp=46
    ptpengine:calibration_delay=5
    clock:drift_handling=file
    clock:drift_file=/etc/ptp.drift
    ptpengine:interface=vmk0
    global:log_level=LOG_ALL
    ; end of file