Hi,
ntpd(8) states that:
When ntpd receives a SIGINFO signal, it writes its peer and sensor
status to syslog(3).
But it isn't clear which process should be signalled:
$ ps ax | grep ntpd
9770 ?? Is 0:00.01 ntpd: [priv] (ntpd)
32294 ?? I 0:00.09 ntpd: ntp engine (ntpd)
28642 ?? I 0:00.01 ntpd: dns engine (ntpd)
Ok, it isn't hard to figure out that the right command should look like:
# pkill -INFO -f 'ntpd: ntp engine'
but I think the man page could be more specific about that:
Index: usr.sbin/ntpd/ntpd.8
===================================================================
RCS file: /cvs/src/usr.sbin/ntpd/ntpd.8,v
retrieving revision 1.32
diff -u -r1.32 ntpd.8
--- usr.sbin/ntpd/ntpd.8 30 Aug 2012 06:48:33 -0000 1.32
+++ usr.sbin/ntpd/ntpd.8 18 Sep 2012 21:40:04 -0000
@@ -117,11 +117,13 @@
.Pa /var/db/ntpd.drift .
Clock drift is periodically written to the drift file thereafter.
.Pp
-When
-.Nm
-receives a
+When the
+.Em ntp engine
+child process receives a
.Dv SIGINFO
-signal, it writes its peer and sensor status to
+signal,
+.Nm
+writes its peer and sensor status to
.Xr syslog 3 .
.Sh FILES
.Bl -tag -width "/var/db/ntpd.driftXXX" -compact
--
Frank Brodbeck <[email protected]>