How to check NTP status in Linux/Unix/Solaris?

Network time protocol(NTP) is used to manage the time across all the machines in your network.Network time is very important in server.
Below command is used to check ntp is running properly or not
svcs ntp
If ntp is running then we need to check the status of ntp by using below command.
ntpq -p
After executing above command if we get any connection refused error means NTP is not running properly.


Post a Comment

Powered by Blogger.