[ntp:questions] NTP sync status

Eugene.Novak at gmail.com Eugene.Novak at gmail.com
Thu Jun 23 20:27:11 UTC 2005


I want to write a bash script which checks to see the status of NTP.  I
need to know whether it is sync'ing with the external server or not.
Is there a command line method that returns something like a 0 or 1
based on if NTP is sync'ing with an external server?  Thanks.

-Eugene




More information about the questions mailing list