Linux - How Do I Determine NTP Stratum Level
Posted on 2009-04-22
I'm running CentOs 5.2, in a local closed network with several other NTP
servers running (each with a different stratum level).
My main processor is set up as a local time server (127.127.1.0),
and ntpd seems to be running OK. In my C application, I need to know
the stratum level of the time server currently in use - this is because
this legacy application relies on the unique statum level to determine
the server's ID.
So - is there an easy way to determine the stratum level at runtime - or
should I adopt another method to determine the server ID?