The SNTP tool is a command line interface tool that allows querying external NTP servers.

The tool is provided for troubleshooting purposes when setting up the SignServer TimeMonitor application.

Run sntp-tool from SIGNSERVER_HOME using the following command:

 bin/sntp-tool
CODE


Usage

usage: sntp-tool [options]
SNTP commands
 -sendsamples <arg>   Number of samples to send. Optional. Default 1
 -servers <arg>       Comma-separated list of host names or IP addresses
                      to query
 -timeout <arg>       Timeout in milliseconds. Optional. Default 1000

Sample usages: sntp-tool -servers ntp.example.com
sntp-tool -servers ntp1.example.com,ntp2.example.com
sntp-tool -servers ntp.example.com -sendsamples 2
sntp-tool -servers ntp.example.com -timeout 2000
CODE