I'm referring to an individual Linux instance that is configured to pull time down from an NTP source. For example, Windows machines that are configured for NTP reflect this in their registry settings. Where on Linux would one need to go to see if that Linux box is configured with NTP?
/etc/ntp.conf is the most common used config file. If it is different ps ax | grep ntp from root show show the command line.
This are a bit different on systemd machines there it depends on the version of the systemd if it still uses an external ntpd config (/etc/ntp.conf) or some internal stuff.
ntpq -p should give the servers/peers used .
ntpq can also be used to query & config the ntpd daemon.
check the doc on ntpq using man ntpq
IT issues often require a personalized solution. With Ask the Experts™, submit your questions to our certified professionals and receive unlimited, customized solutions that work for you.
Take hold of your future.