- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- help on ntp
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2007 08:09 PM
04-22-2007 08:09 PM
This is the output from ntpq -p
remote=xxx.xxx.xxx.xxx
refid= xxxxx
st=2
t=u
when=233
poll=512
reach=377
delay=0.32
offset=0.02
disp=0.03
question :
1) How do i know how many minutes it's poll from ntp server ?.
2) is it possible that the "A server" time is ahead of the NTP server and the ntp will minus the time from "A server" to follow NTP server time ?.
Rgrds
mB
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2007 08:33 PM
04-22-2007 08:33 PM
Re: help on ntp
1) poll=512 Thats seconds.
2) ntp checks time sources from top to bottom in the configuration file.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2007 08:34 PM
04-22-2007 08:34 PM
Solutionpoll=512 --> This means the server will be polled every 512 secs.
when=233 --> This means the last contact with the server was 233 secs ago. If this number is less than the 'poll' value (which it is) that's good.
When the client's time is a little slow or ahead it will be corrected by the NTP server.
Only if the time is very far off you might see ntp complain.
Hope that helps,
Cheers,
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2007 08:55 PM
04-22-2007 08:55 PM
Re: help on ntp
The duration of update can be found from, the 'when' and 'poll' columns of
'ntpq -p' o/p.
When the 'when' count reaches the 'poll' value, the time will be
synchronized and the 'when' count will be re-set back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2007 02:44 AM
04-23-2007 02:44 AM
Re: help on ntp
2) The question is ambiguous - are you talking about a few seconds, a few minutes or a few hours? And are you using xntpd in the standard configuration, or are you running ntpdate to jump the time? Assuming you have setup xntpd correctly, the time will be slightly changed over a long period (hours if needed) to adjust the time to match the server.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2007 03:27 PM
04-23-2007 03:27 PM
Re: help on ntp
If the server need to adjust the time ( to follow the NTP server ) , is the activity will be log in the syslog.log file ?. OR where is NTP log file ?.
Sorry, I have left HPUX for couple of years already so my knowledge is rusty .
Regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2007 03:34 PM
04-23-2007 03:34 PM
Re: help on ntp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2007 01:15 PM
04-24-2007 01:15 PM
Re: help on ntp
The man page for xntpd is very helpful. xntpd will log details to syslog.log. You can configure xntpd to log to a different file with -l
> Sorry, I have left HPUX for couple of years already so my knowledge is rusty .
NTP is not really HP-UX, it is an industry standard service so it's the same on virtually every platform (OK, Windows does it very badly with sntp) but this will also help:
www.ntp.org
Bill Hassell, sysadmin