Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to syncronize the system time of two PCs with pricision upto a second. NTP too can do time syncronization as far as I know it dont syncronize them with a precision of a second.
does anybody knows a metod to overcome the problem ?
I thought if you use NTP using one of the servers as a time source it will sync them to the 1 second level. At least that is what I would try first. Have you tried this and seen more than a 1 second variance?
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
NTP does sync to the second or better; if you want extreme or laboratory-level precision, you need a GPS or "radio" clock to use as a time source (and those babies run into the hundreds and up to the thousands of dollars). If you set NTP up to use three or so pool servers, it will sync to the "best" one on its own (if you generate the log you can see how things are going) and that may be good enough for your purposes; otherwise, radio is the way to go.
According to the NTP project... when syncing of a time source on a LAN the typical accuracy is less then a millisecond... over a WAN they claim a "few milliseconds" is typical. Ether-way, it is certainly the industry standard for accurate time sync and it should do well better then 1 second precision. As the other posters have said.. for critical applications I would recommend getting a GPS timesource that supports NTP and sync to that.
Oh ! I'm sorry, I was wrong about the NTP server, anyway now what i want to do is sync 2 PCs without any external reference. where one PCs system time as the NTP server and the other PC as client. Is it possible ?
Thanx for any help !
Buddhike G
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Yes, that will work as well. You can sync your server to NTP, if it cannot sync because you are lacking a connection it does not sync. You client machine however will sync to your server anyway.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.