On Thu, Jul 23, 2020 at 09:57:35AM +1000, Luke Howard wrote:
> Possibly an extension to pmc(8) for emitting JSON would better suit your use 
> case, depends on how your application is structured I guess?

You can pipe the pmc output through a script (python, etc) that emits json.
That might cover simple use cases.

For more complex monitoring, I would, in fact, recommend developing
your own client logic.

The pmc program is super simple on purpose, and it is meant as an
example.  Trying to make a monitoring client/library that satisfies
everyone's needs will get very complicated very fast!

Thanks,
Richard



_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to