[Linuxptp-users] Status file of achieved time synchronization
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Koehrer M. (ETAS/ESW5) <mat...@et...> - 2014-02-12 15:55:43
|
Hi all, I want to synchronize a couple of PCs using linuxptp. One of these PCs acts as a master the others are slaves. Is there a way to check the currently achieved synchronization offset on the slaves? Checking the syslog file is not really helpful as I want to do a scriptable check. On each of the PCs an application has to run. Starting this application on the slaves is only allowed if the time-synchronization is stable (=the clock offset is below a certain limit and the drift is low). With "ptpd2" there is a status file /var/run/ptpd2.status" that will be re-written every second. Is anything like that available with linuxptp as well? Thanks for any feedback on this! Regards Mathias |