timestamp output on rnds stats output, GRRR!
Hays, Ken
hays at otc.fsu.edu
Thu Sep 18 18:32:44 UTC 2008
If you are fortunate, your unix will have GNU date. If you have
1221762600 epoch seconds, try
date -d '1970-01-01 Z 1221762600 seconds'
for time zone relative display. Add the -u flag for UTC display.
Good luck, Ken
-----Original Message-----
From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org] On
Behalf Of Jeff A. Earickson
Sent: Thursday, September 18, 2008 1:47 PM
To: bind-users at isc.org
Subject: timestamp output on rnds stats output, GRRR!
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?
Jeff Earickson
Colby College
More information about the bind-users
mailing list