I don't know the official answer, but I can tell you the PS method reports to 
me November, which is the last time named was started; whereas the pid file 
date shows noon today, a few hours ago.



  Ryan Pavely
   Cologix
   http://www.cologix.com/

On 1/5/2017 3:54 PM, Jonathan Reed wrote:
Hi,

I'm running rndc stats and trying to determine how long the stats are good for. 
I'm querying the server start time by a couple methods but they're not the 
same. Which one should I rely on?

$ date -r /var/run/named/named.pid
Sun Jan  1 03:38:04 EST 2017
$ ps -C named -o lstart=
Sat Dec 24 12:03:47 2016

I'm using the version bind-9.8.2-0.23.rc1.el6_5.1.x86_64 package on CentOS.

Thanks


_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to