State/State Files

Enhanced PTP User Guide (UG1602)

Document ID
UG1602
Release Date
2023-04-07
Revision
1.1 English

sfptpd generates state and statistical data in files in the /var/lib/sfptpd directory. These files are automatically generated whenever sfptpd is running. No additional configuration is required.

# ls /var/lib/sfptpd
freq-correction-000f:53ff:fe11:2233
freq-correction-000f:53ff:fe44:5566
freq-correction-system
interfaces
ptp-nodes
state-000f:53ff:fe44:5566
state-ntp
state-ptp1
state-system
stats-000f:53ff:fe44:5566
stats-000f:53ff:fe44:5566.json
stats-ntp
stats-ntp.json
stats-ptp1
stats-ptp1.json
stats-system
stats-system.json
topology
version
Note: The stats-system file is only generated when the system clock is being synchronized to another clock in the host and is controlled by a local clock servo process. When running an NTP fallback configuration the system clock is synchronized by NTP, therefore no stats-system file is created.