[ntp:questions] NTPD Run

nasa138 nasa138 at gmail.com
Tue Jul 28 01:03:25 UTC 2009


I would like to add a few printf statement in the ntpd source code,
and recompile it, and then run it, so that I can see the value.
Here's what I did:
1) ./configure   --->> it configure ok
2) add some printf statements in ntpd.c
3) make
4) go to ntpd_directory
5) run ntpd, by entering ntpd at the prompt

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.

Thanks in advance




More information about the questions mailing list