[ntp:questions] NTPD Run

Unruh unruh-spam at physics.ubc.ca
Tue Jul 28 18:02:23 UTC 2009

E-Mail Sent to this address will be added to the BlackLists <Null at BlackList.Griffin-Technologies.invalid> writes:

>nasa138 wrote:
> > I would like to add a few printf statement in the ntpd source code,
> > What I expect to see is some printf statement that I added, but
> > nothing happened with command "ntpd". I doubt that I have run ntpd
> > correctly. If not, what's the correct way to run ntpd. I tried to run
> > with "ntpd -d". But somehow -d is no longer an option. I believe it's
> > the option to turn on the debug mode.

>  * Default handlers print to stderr which doesn't work if detached.

The best idea is to open a file (/tmp/ntp say) and write your fprintf
messages to that. 

More information about the questions mailing list