[rrd-users] Re: incorrect updates
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Wed Sep 22 00:31:12 MEST 1999
> Also it looks restrictive to use longtime format (secs since 1970) as
> timestamp for
> updates. The update man page doesn't talk about any other format, not even
> AT-STYLE spec.
> I am not sure if there is a UNIX time command to get the number of secs
> since 1970.
> I had to write a small C program to get the longtime with time.h
>
You could try
date +%s
if you have GNU date or else use perl
perl -e 'print date() . "\n"'
I think there's something in my tutorial IIRC ?
In any case, you can just use "N" for "Now" and don't bother with
the date at all.
Regards,
Alex
--
* To unsubscribe from the rrd-users mailing list, send a message with the
subject: unsubscribe to rrd-users-request at list.ee.ethz.ch
More information about the rrd-users
mailing list