[ntp:questions] sntp status word or exit status
mike cook
michael.cook at sfr.fr
Tue Feb 11 13:14:18 UTC 2014
Le 11 févr. 2014 à 11:58, joeri delvoy a écrit :
> i have checked the main.c file in the sntp code, and saw there are only 2 exit codes used: 0(OK) or 1(not OK).
>
> I have verified the output of the sntp command, and see that i get a
> "no UCST response after 3 seconds" if the server is non-existing.
>
> But what output can i expect when the server is reachable, but does not reply on time?
>
electron:~ mike$ sntp higgs
2014 Feb 11 14:11:18.00795 - 0.00461 +/- 0.00196 secs
stop ntp on higgs, then
electron:~ mike$ sntp higgs
sntp: not enough valid responses received in time
> _______________________________________________
> questions mailing list
> questions at lists.ntp.org
> http://lists.ntp.org/listinfo/questions
More information about the questions
mailing list