LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2011, 02:54 AM   #1
wasim_jd
LQ Newbie
 
Registered: Dec 2011
Posts: 12
Blog Entries: 1

Rep: Reputation: Disabled
NTP


Hi All,
How to check time synchronization, mine is a server all other servers are connected to my server as clients. So i checked . /etc/ntp.conf everything is fine.. but what I want to know is are clients are synchronized with my server... do we have any command to check all the clients IP address and their time difference with my server..?? Tnanks.

Regards,
Wasim.
 
Old 12-21-2011, 08:40 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,433

Rep: Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353Reputation: 1353
I am not aware of a single command that will do this. How could you write code that would allow you to automatically query other systems that are not time servers?
You will need to login to the individual clients and run 'ntpq -p' to check that the client is synchronised to your server.
 
Old 12-21-2011, 08:52 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,948

Rep: Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530Reputation: 1530
ntpdate with the -q option will query any time server and display the difference. However, the firewall and ntp.conf will need to be configured to allow incoming ntp traffic assuming that all the clients are also running ntp.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ntp drift file in /etc/ntp instead of /var/lib/ntp - suggestion for a patch in Slack niels.horn Slackware 16 05-07-2009 08:35 PM
NTP's ntp.conf pxumsgdxpcvjm Linux - Server 2 08-30-2007 10:34 PM
Help with NTP again please!! MaverickApollo Linux - General 2 05-30-2006 08:33 AM
NTP cannot work with timeserver, NTP-d can jerryvapps Linux - Networking 0 08-04-2004 03:04 PM
NTP cannot use server, NTP -d can jerryvapps Linux - Newbie 0 07-28-2004 03:22 PM


All times are GMT -5. The time now is 04:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration