R. Clayton wrote:
In 3.9 I've modified /etc/ntpd.conf to turn ntpd into a server; now I want to
restart it.  After poking around a bit, it seems I either HUP ntpd or kill it
outright; which is recommended?  If it's kill it outright, how does it get
restarted?

You could run: sudo pkill ntpd; sudo ntpd
You should read /etc/rc to see how it gets started at bootup.

Also, there seems to be two copies running:

  $ ps ax | grep [n]tpd
  30316 ??  I       0:00.32 ntpd: ntp engine (ntpd)
   2983 ??  Is      0:00.01 ntpd: [priv] (ntpd)

From man ps(1): under state, the "I" references an idle process while the "s" references the session leader. Adding "ps -aux" shows that root owns the session leader and _ntpd (an unprivileged user) owns the "ntp engine" process.

-ME

--
Support OpenBSD: http://www.openbsd.org/orders.html

Reply via email to