Index
Simple Network Time Protocol is TCP that keeps a system’s time in sync. A SNTP server is a machine that provides the synchronization service to which several machines with the SNTP client are active can connect to fit the local time equal to the server time.
Log on with a class profile of .SECOFR.
Run the following command:
CHGNTPA RMTSYS('0.pool.ntp.org' '1.pool.ntp.org' '2.pool.ntp.org') AUTOSTART('YES) POLLITV(1440)
Every 1440 minutes (that is, every 24 hours), the SNTP client will check the 3 servers specified in the RMTSYS parameter for the local time with the remote time and, if necessary, adjust the time.
For more information about NTP servers, see the http://www.pool.ntp.org/en/ site.
To start the SNTP client immediately, run the command:
STRTCPSVR -NTP
Time setting or adjustment activities are recorded in the log files in the /QIBM/USERDATA/OS400/TCPIP/NTP folder. The log files are called QTOT-yyyymmdd.
Example log:
SNTP QTOTNTP/QNTP/342627 Client Activity Logging 0:30:34.915
TCP9136 SNTP Client started.
TCP9146 You are using the xxx.xxx.xxx.xxx time server.
TCP9162 05/21/19 0:30:34.915 Remaining time to adjust 0.000 seconds.
TCP9116 UTC time of the NTP server 05/05/19 0:30:34.915 is 5/20/19 22:30:34.738.
TCP9117 The UTC time of the client clock 05/21/19 0:30:34.915 is 5/20/19 22:30:34.892.
TCP9119 Client Clock 05/21/19 0:30:34.915 Adapted : 1 (0 is unadapted, 1st adapted)
Visit the www.markonetools.it site.
👉 Review: Bob Cozzi’s RPG IV to RPG Free Conversion – a useful VS Code extension for RPG modernization If…
Hello everyone, I’d like to highlight another excellent contribution by Massimo Duca, part of his ongoing IBM i & SQL…
Intrigued by some recent posts from Cristian Larsen on LinkedIn (New Release – Display File DDS Edit v 0.10.1), I…
Hello everyone, Today I’d like to draw your attention to a major new announcement from IBM: Project Bob — a…
I want to share with you a particularly useful article by Massimo Duca in the IBM i & SQL Tips…
Hello everyone, I’d like to highlight a very useful article by Marco Riva on Markonetools, where he clearly explains how…