[rrd-users] Some advice.

Winton Davies wdavies at goto.com
Sat Jun 10 04:40:44 MEST 2000


Hi,

   I've been experimenting with RRD as a way of graphing Price data. I 
don't need averages or anything like that. Basically I need RRD to 
simply store and graph daily data.


  Day 1 $70
  Day 2 $80
  Day 3 $75

The Graph would show Day 1 = 70, Day 2 = 80, and Day 3 = 75
 
I'm hoping that RRD will just efficiently store my data and give me graphs :)

  Cheers,
    Winton



This is a script I created:
rrdtool create new1.rrd --start 960830287 --step 86400 
DS:a:ABSOLUTE:86400:U:U RRA:MAX:1:1:9
rrdtool update new1.rrd 961089487:79
rrdtool update new1.rrd 961348687:73
rrdtool update new1.rrd 961607887:83
rrdtool update new1.rrd 961867087:88
rrdtool update new1.rrd 962126287:73
rrdtool update new1.rrd 962385487:70
rrdtool update new1.rrd 962644688:69
rrdtool update new1.rrd 962903888:78
rrdtool update new1.rrd 963163088:57
rrdtool fetch new1.rrd MAX --resolution 86400 --start 960830287 --end 963163088


Which results in the following list...
                         a

  960768000: NaN
  960854400: NaN
  960940800: NaN
  961027200: NaN
  961113600: NaN
  961200000: NaN
  961286400: NaN
  961372800: NaN
  961459200: NaN
  961545600: NaN
  961632000: NaN
  961718400: NaN
  961804800: NaN
  961891200: NaN
  961977600: NaN
  962064000: NaN
  962150400: NaN
  962236800: NaN
  962323200: NaN
  962409600: NaN
  962496000: NaN
  962582400: NaN
  962668800: NaN
  962755200: NaN
  962841600: NaN
  962928000: NaN
  963014400: NaN
  963100800: NaN
  963187200: NaN
------------------------------------------------------------------------------
Winton Davies                                                wdavies at goto.com
GoTo, Inc.                                              http://shop.goto.com/
1820 Gateway Drive, Suite 300, San Mateo, CA 94404            (650) 403-2259
------------------------------------------------------------------------------

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



More information about the rrd-users mailing list