User Guide: RRDtool - secviz/davix GitHub Wiki

Site

oss.oetiker.ch/rrdtool

Summary

A tool for graphing time series data.

Links

rrdtutorial

Command Line Quick Start

Currently there is no help available for rrdtool.

How to Get it Working

  • Open a console.
  • To set up the round robin database use the following command:
    rrdtool create test.rrd —start 920804400 DS:speed:COUNTER:600:U:U
    RRA:AVERAGE:0.5:1:24 RRA:AVERAGE:0.5:6:10
  • To update the database with data use the following commands:
    rrdtool update test.rrd 920804700:12345 920805000:12357 920805300:12363
    rrdtool update test.rrd 920805600:12363 920805900:12363 920806200:12373
    rrdtool update test.rrd 920806500:12383 920806800:12393 920807100:12399
    rrdtool update test.rrd 920807400:12405 920807700:12411 920808000:12415
    rrdtool update test.rrd 920808300:12420 920808600:12422 920808900:12423
  • The following command generates a PNG file with the graph:
    rrdtool graph speed.png —start 920804400 —end 920808000 
    DEF:myspeed=test.rrd:speed:AVERAGE LINE2:myspeed#FF0000
  • Open GQview and view image speed.png

Comments

⚠️ **GitHub.com Fallback** ⚠️