[rrd-users] Converting historic time to post-epoch format

Bill Z. bgk at hotunix.com
Mon Jul 12 17:55:31 MEST 2004


Previously I was using "date $old_time +%s" (and $old_time in the format
of yymmddHHMM) in my rrd-update script.

And I ran that as root (yuck!), so somehow, I believe, my system clock got
reset a few times this way (perhaps when there was a space in $old_time
and the above command dropped the "tail" after the space and reset time?).

I wonder if anyone has the same need of converting non-current time and
if so how you do it.

Any info is much appreciated.....Bill

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list