CmdID

CmdID / Commands

sntp

Simple Network Time Protocol client. toybox

On Linux, macOS

Opens CmdID with your command. It is read in your browser and sent nowhere.

Linux

from the toybox, 0BSD

Simple Network Time Protocol client. Query SERVER and display time.

sntp [-saSdDq] [-r SHIFT] [-mM[ADDRESS]] [-p PORT] [SERVER]
-p PORTUse PORT (default 123)
-sSet system clock suddenly
-aAdjust system clock gradually
-SServe time instead of querying (bind to SERVER address if specified)
-mWait for updates from multicast ADDRESS (RFC 4330 suggests 224.0.1.1)
-MMulticast server on ADDRESS (RFC 4330 suggests 224.0.1.1)
-tTTL (multicast only, default 1)
-dDaemonize (run in background re-querying)
-DDaemonize but stay in foreground: re-query time every 1000 seconds
-r SHIFTRetry shift (every 1<<SHIFT seconds)
-qQuiet (don't display time)

A very Simple Network Time Protocol client program.

Query a specified SNTP server and display the time

sntp pool.ntp.orgIdentify

Synchronize the system clock with a specified SNTP server

sudo sntp -S pool.ntp.orgIdentify
-SServe time instead of querying (bind to SERVER address if specified) toybox

Enable debug logging

sntp -d pool.ntp.orgIdentify
-dDaemonize (run in background re-querying) toybox