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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Jeff A. Earickson
Sent: Thursday, September 18, 2008 1:47 PM
To: bind-users@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


Reply via email to