~ubuntu-branches/ubuntu/maverick/rrdtool/maverick

« back to all changes in this revision

Viewing changes to doc/rrdtutorial.pod

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2010-07-22 08:07:01 UTC
  • mfrom: (1.2.8 upstream) (3.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100722080701-k46mgdfz6euxwqsm
Tags: 1.4.3-1ubuntu1
* Merge from debian unstable, Remaining changes:
  - debian/control: Don't build against ruby1.9 as we don't want
    it in main.
* require libdbi >= 0.8.3 to prevent aborts when using dbi datasources

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
 
87
87
Most likely you will start to use RRDtool to store and process data
88
88
collected via SNMP. The data will most likely be bytes (or bits)
89
 
transfered from and to a network or a computer.  But it can also be
 
89
transferred from and to a network or a computer.  But it can also be
90
90
used to display tidal waves, solar radiation, power consumption,
91
91
number of visitors at an exhibition, noise levels near an airport,
92
92
temperature on your favorite holiday location, temperature in the
93
 
fridge and whatever you imagination can come up with.
 
93
fridge and whatever your imagination can come up with.
94
94
 
95
95
You only need a sensor to measure the data and be able to feed the
96
96
numbers into RRDtool. RRDtool then lets you create a database, store
150
150
 
151
151
Assume we have a device that transfers bytes to and from the Internet.
152
152
This device keeps a counter that starts at zero when it is turned on,
153
 
increasing with every byte that is transfered. This counter will probably have
 
153
increasing with every byte that is transferred. This counter will probably have
154
154
a maximum value. If this value is reached and an extra byte is counted,
155
155
the counter starts over at zero. This is the same as many counters
156
156
in the world such as the mileage counter in a car.
162
162
counting from 0 to 4294967295. We will use these values in the examples.
163
163
The device, when asked, returns the current value of the counter. We
164
164
know the time that has passes since we last asked so we now know how
165
 
many bytes have been transfered ***on average*** per second. This is
 
165
many bytes have been transferred ***on average*** per second. This is
166
166
not very hard to calculate. First in words, then in calculations:
167
167
 
168
168
=over 3
552
552
other types of values like temperature.
553
553
 
554
554
Many people interested in RRDtool will use the counter that keeps track
555
 
of octets (bytes) transfered by a network device. So let's do just
 
555
of octets (bytes) transferred by a network device. So let's do just
556
556
that next. We will start with a description of how to collect data.
557
557
 
558
558
Some people will make a remark that there are tools which can do this data