[time-nuts] 60hz west coast electric grid gone berserk
hmurray at megapathdsl.net
Fri Sep 9 17:17:12 UTC 2011
> What software do you use for the monitoring?
Things are pretty simple if you have a Linux box. Here is the code I'm using:
Kernel support to capture PPS info into NTP was developed many years ago.
The API gives you a time stamp and a count. Although the intention was 1 Hz,
it works fine at 60 Hz. It's available on recent Linux kernels and has been
available on most/all *BSD systems for a long long time.
Linux also makes that info available via /sys/class/pps/pps0/assert so you
can get at it with scripts and don't need to write/compile c code.
[murray at shuksan]$ cat /sys/class/pps/pps0/assert
[murray at shuksan]$
It wouldn't be hard to write something similar in c that would run on a BSD
These are my opinions, not necessarily my employer's. I hate spam.
More information about the time-nuts