Question: rrdtool how to create graph?
Answer: initialize the database. Create the rrd database and prepare it to accept data. ... 
collect the data sets over time. A cron job will run to collect data using a script you will write to enter that data periodically into the database. ... 
create the graph.