timestamp output on rnds stats output, GRRR!

Justin Pryzby justinpryzby at users.sourceforge.net
Thu Sep 18 18:22:49 UTC 2008


On Thu, Sep 18, 2008 at 01:47:22PM -0400, Jeff A. Earickson wrote:
> Yo Bind Developers,
> 
> Using Bind 9.5.0-P2.  Why, oh why, does "rndc stats" give timestamp
> information in UNIX epoch seconds??!!  Why can't ns_stats_dump() in
> bin/named/statschannel.c do a call to localtime() or gmtime() and 
> convert the UNIX epoch into a human-readable time?
Hi Jeff,

I learned from this list that BSD date allows converting to usable
format, and it turns out that GNU date does too:

$ date -d @1211922827
Tue May 27 14:13:47 MST 2008

Justin


More information about the bind-users mailing list