Updating time in linux
02-Aug-2020 05:16
Use the ntpstat command to view the status of the NTP service on the instance.If you get an error message prompting that NTP is not installed then you have to install it on the server.Following steps shows how to sync time using the terminal.Before we start login to the server via terminal and follow the steps given below.
In this case, the ntpd daemon must be stopped on the machine where the ntpdate command is issued.
To start automatic time synchronization with remote NTP server, type the following command at the terminal.