Re: [Linuxptp-users] Is there a way to query ptp4l or phc2sys status?
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2015-06-29 22:11:28
|
On Mon, Jun 29, 2015 at 03:12:39PM -0500, Robb wrote: > Does something like this exist? Yes, we have the 'pmc' (PTP managment client) for that. You can query the local node via UDS or the entire network via normal PTP managment messages. The program has both interactive and command line modes. Some of the queries are: CURRENT_DATA_SET for offsetFromMaster and meanPathDelay PARENT_DATA_SET find out the GM identity TIME_PROPERTIES_DATA_SET find out whether time is globally traceable PORT_DATA_SET knowing the portState can be useful, SLAVE and MASTER You can make a really simple monitoring application using 'watch' together with 'pmc'. Cheers, Richard |