Hello,
I'm looking for assitance on setting up network time protocol on my HP-ux boxes.
I have edit the .conf file accordingly. And /etc/services. But whenever I try and start the service nothing happens at all. No error message, nothing.
I have a SCO box as a time server and I wish... (0 Replies)
Hi Linux Admin Guys
My onsite server is always 15 min slow and seems like NTPD (Network Time Protocol (NTP) daemon) not running properly. can anyone suggest me how to rectify this problem? we can't seem to get NTP to properly sync the clock.
Any help is resolving the issue will be helpful.... (12 Replies)
I need to replace the line daemon ntpd $OPTIONS in the following script with daemon ntpd $OPTIONS 2>&1 > /var/log/ntpd.log &
what will happen?
The idea of replacing is to capture the output on the console into ntpd.log file.
Will this work?
... (1 Reply)
as advised and documented, i'm trying to use the ntpd -gq instead of ntpdate. The result is that clock not set. as below. However ntpdate is working ok and had set the clock correctly
this is the ntp.conf file:
# cat /etc/ntp.conf
logfile /var/log/ntp.log
driftfile /var/lib/ntp/drift... (6 Replies)
Hi,
Could someone Please clarify me here:
Is ntpdate command a part of ntpd, i mean does ntpdate command a dependent on ntpd? and can ntpdate be run in absence of ntpd service. (5 Replies)
on every boot, ntpd takes long time to start (after moving from dhcp to static ip). is there a way to speed it up? (1 Reply)
Discussion started by: orange47
1 Replies
LEARN ABOUT NETBSD
hardclock
HARDCLOCK(9) BSD Kernel Developer's Manual HARDCLOCK(9)NAME
hardclock -- real-time timer
SYNOPSIS
void
hardclock(struct clockframe *frame);
DESCRIPTION
The hardclock() function is called hz(9) times per second. It implements the real-time system clock. The argument frame is an opaque,
machine-dependent structure that encapsulates the previous machine state.
The hardclock() performs different tasks such as:
o Run the current process's virtual and profile time (decrease the corresponding timers, if they are activated, and generate
SIGVTALRM or SIGPROF, respectively).
o Increment the time-of-day, taking care of any ntpd(8) or adjtime(2) induced changes and leap seconds, as well as any necessary com-
pensations to keep in sync with PPS signals or external clocks, if support for this is in the kernel (see options(4)).
o Schedule softclock interrupts if any callouts should be triggered (see callout(9)).
SEE ALSO adjtime(2), ntp_adjtime(2), signal(7), ntpd(8), callout(9), hz(9)BSD March 25, 2010 BSD