[rrd-users] Re: simple graphing

Serge Maandag serge.maandag at staff.zeelandnet.nl
Tue Jan 13 23:18:25 MET 2004


> Jan  1 12:00   123
> Jan  1 12:15    80
> Jan  1 12:30   257 

> To insert the data,  I would like to ideally do something like
>     rrdtool update test.rrd `cat /tmp/data.2` but that 
> cleayly wont work even if I massage the data to look like
> 1200:123
> 1215:80
> 1230:257

You can convert the date and time into a timestamp by using the date
command.
	date -d "Jan  1 12:00" +%s
Will give you
	1072954800

So you can use your favorite perl/cut/awk/whatever tool to format the
output in the format you are looking for.

Serge.


-------------
Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php

--
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