On Thu, 19 Jun 2014 23:01:36 +0200, Stephan Gatzka wrote: > > Better option would be asking ptp4l about its PID and monitoring it. > > That would be reliable enough but still polling, although rather cheap > > polling. > > Is ptp4l writing a PID file? If so, you can use inotify for monitoring.
The problem is not detecting ptp4l start, that we can easily do using management messages. The problem is ptp4l going away, and inotify cannot help with that. Moreover, pid file won't work with multiple domains, unless you ask ptp4l about the pid file path, and then you can just ask about the pid directly. Jiri -- Jiri Benc ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel