Verifying NTP Service

Use the following procedure to verify that the time server is working.
Log in to lsmspri as root and enter the following command:

$ ntpdate -q ntpserver1
  • If the time server is working, output similar to the following displays:
    server 198.89.40.60, stratum 2, offset 106.083658, delay 0.02632
    22 May 14:23:41 ntpdate[7822]: step time server 198.89.40.60 offset 106.083658 sec
    
  • If the time server is not working or is unavailable, output similar to the following displays:
    server 198.89.40.60, stratum 0, offset 0.000000, delay 0.000000
    22 May 14:33:41 ntpdate[7822]: no server suitable for synchronization found