]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
Update documentation 864/head
authorWolfgang Stöggl <c72578@yahoo.de>
Fri, 26 Jan 2018 14:56:48 +0000 (15:56 +0100)
committerWolfgang Stöggl <c72578@yahoo.de>
Fri, 26 Jan 2018 14:56:48 +0000 (15:56 +0100)
- Some typos corrected

bindings/perl-piped/RRDp.pm
bindings/perl-shared/RRDs.pm
doc/rrdbuild.pod
doc/rrdlua.pod
doc/rrdpython.pod
doc/rrdruby.pod
doc/rrdtutorial.pod

index bf2abe8c438473ffbd809d635d2512c6f885269c..227a841632aa001955ab3bbaa4ba8012d078bdc6 100644 (file)
@@ -65,7 +65,7 @@ terminates RRDtool and returns RRDtool's status ...
 
 these variables will contain totals of the user time, system time and
 real time as seen by RRDtool.  User time is the time RRDtool is
-running, System time is the time spend in system calls and real time
+running, System time is the time spent in system calls and real time
 is the total time RRDtool has been running.
 
 The difference between user + system and real is the time spent
index 8be826e1b4c315b838a28d51e6954c1e9e631220..034cc6555f8ba0d73b8eb6f8fc629abf38448474 100644 (file)
@@ -64,7 +64,7 @@ explanation on how to specify time.
 
 =head2 Error Handling
 
-The RRD functions will not abort your program even when they can not make
+The RRD functions will not abort your program even when they cannot make
 sense out of the arguments you fed them.
 
 The function RRDs::error should be called to get the error status
@@ -114,7 +114,7 @@ current update call. The hash values are CDP values.
 
 B<RRDs::fetch> is the most complex of
 the pack regarding return values. There are 4 values. Two normal
-integers, a pointer to an array and a pointer to a array of pointers.
+integers, a pointer to an array and a pointer to an array of pointers.
 
   my ($start,$step,$names,$data) = RRDs::fetch ... 
   print "Start:       ", scalar localtime($start), " ($start)\n";
@@ -156,7 +156,7 @@ export their data from a database and then load it into an rrd file just to
 be able to call rrdgraph on it. Using a custom callback, you can supply your own
 code for handling the data requests from graph, xport and fetch.
 
-Todo this, you have to first write a fetch function in perl, and then register
+To do this, you have to first write a fetch function in perl, and then register
 this function using C<RRDs::fetch_register_callback>.
 
 Finally you can use the pseudo path name B<cb//>[I<filename>] to tell
@@ -190,7 +190,7 @@ The callback function must look like this:
 =head1 NOTE
 
 If you are manipulating the TZ variable you should also call the POSIX
-function L<tzset(3)> to initialize all internal state of the library for properly
+function L<tzset(3)> to initialize all internal states of the library for properly
 operating in the timezone of your choice.
 
  use POSIX qw(tzset);
index 2dc20c9b2b04cded1ce590dd54d09b10171c8736..fcb2356be3e9876e6741ee4049cc8ca6d8c5e0e8 100644 (file)
@@ -44,7 +44,7 @@ Once you have decided. Save the two locations into environment variables.
  INSTALL_DIR=/opt/rrdtool-1.7.0
 
 
-If your F</tmp> is mounted with the option noexec (RHEL seems todo that) you have to choose
+If your F</tmp> is mounted with the option noexec (RHEL seems to do that) you have to choose
 a different directory!
 
 Now make sure the BUILD_DIR exists and go there:
@@ -305,7 +305,7 @@ config file.
  $MAKE
  $MAKE install
 
-When building on Solaris you may want todo
+When building on Solaris you may want to do
 
  ./configure --prefix=$INSTALL_DIR \
     --enable-xlib=no \
index bf3f9ab09a48b4805cd168f58ce8a07b04caf089..73e21cb97c0f5b2199f85ba6dbb167df34c1c2fa 100644 (file)
@@ -81,7 +81,7 @@ programs where to find it by changing the Lua var LUA_PATH:
 =head2 Error Handling
 
 The Lua RRDtool module functions will abort your program with a stack
-traceback when they can not make sense out of the arguments you fed them.
+traceback when they cannot make sense out of the arguments you fed them.
 However, you can capture and handle the errors yourself, instead of just
 letting the program abort, by calling the module functions through Lua
 protected calls - 'pcall' or 'xpcall'.
@@ -159,7 +159,7 @@ names and property values of the RRD.
 B<rrd.graphv> takes the same parameters as rrd.graph but it returns a table
 only. The table returned contains meta information about the graph, like
 its size as well as the position of the graph area on the image. When
-called with and empty filename, the contents of the graph will be returned
+called with an empty filename, the contents of the graph will be returned
 in the table as well (key 'image').
 
 B<rrd.updatev> also returns a table. The keys of the table are strings
index ba21f1608ddf0ee3c112aed211b87b4a85da6203..d0a683cff93ef6ea2d1dee0ead8d40b50a3f45a6 100644 (file)
@@ -13,7 +13,7 @@ The B<rrdtool> functions are directly callable via the Python programming
 language. This wrapper implementation has been written from the scratch
 (without  SWIG)
 
-The API's expects strings and/or list of strings as parameters to the functions.
+The API expects strings and/or a list of strings as parameters to the functions.
 Please refer to the other B<rrdtool> documentation for functions and valid arguments.
 
 =head1 EXAMPLES
index c1c246e6030353d320cbbec1342444dea5c08e91..3aa512c19bf344394ae167f342068af8e3e93631 100644 (file)
@@ -18,7 +18,7 @@ The B<rrdtool> functions are directly callable via the Ruby programming
 language. This wrapper implementation has been written from the scratch
 (without  SWIG)
 
-The API's simply expects string parameters to the functions.  Please refer
+The API simply expects string parameters to the functions.  Please refer
 to the other B<rrdtool> documentation for functions and valid arguments.
 
 =head1 EXAMPLE
index a8515802184eb24f97d69201889f0fd39aebe16f..06261e80056f1249cf4528a0b95ca1d1d4fef275 100644 (file)
@@ -26,7 +26,7 @@ document explains the basics and may be boring.  But if you don't
 understand the basics, the examples will not be as meaningful to you.
 
 Sometimes things change.  This example used to provide numbers like
-"0.04" in stead of "4.00000e-02".  Those are really the same numbers,
+"0.04" instead of "4.00000e-02".  Those are really the same numbers,
 just written down differently.  Don't be alarmed if a future version
 of rrdtool displays a slightly different form of output. The examples
 in this document are correct for version 1.2.0 of RRDtool.
@@ -155,7 +155,7 @@ a maximum value. If this value is reached and an extra byte is counted,
 the counter starts over at zero. This is the same as many counters
 in the world such as the mileage counter in a car.
 
-Most discussions about networking talk about bits per second so lets
+Most discussions about networking talk about bits per second so let's
 get used to that right away. Assume a byte is eight bits and start to
 think in bits not bytes. The counter, however, still counts bytes!
 In the SNMP world most of the counters are 32 bits. That means they are
@@ -246,7 +246,7 @@ translates to 920804400 seconds as explained below). Our database holds
 one data source (DS) named "speed" that represents a counter. This counter
 is read every five minutes (this is the default therefore you don't have to
 put C<--step=300>).  In the same database two round robin archives (RRAs)
-are kept, one averages the data every time it is read (e.g., there's nothing
+are kept, one averages the data every time it is read (i.e., there's nothing
 to average) and keeps 24 samples (24 times 5 minutes is 2 hours). The other
 averages 6 values (half hour) and contains 10 such averages (e.g. 5 hours).
 
@@ -423,7 +423,7 @@ adjust examples accordingly if you happen to use an operating
 system or shell which behaves differently.
 
 After viewing this PNG, you notice the "m" (milli) has
-disappeared. This it what the correct result would be. Also, a label
+disappeared. This is what the correct result would be. Also, a label
 has been added to the image.  Apart from the things mentioned above,
 the PNG should look the same.
 
@@ -543,7 +543,7 @@ an example in pseudo code:
 This is all. Run the above script every five minutes. When you need to know
 what the graphs look like, run the examples above. You could put them
 in a script as well. After running that script, view the page
-index.html we created above.
+speed.html we created above.
 
 =head2 Some words on SNMP
 
@@ -847,7 +847,7 @@ All right, you feel like continuing. Welcome back and get ready
 for an increased speed in the examples and explanations.
 
 You know that in order to view a counter over time, you have to
-take two numbers and divide the difference of them between the
+take two numbers and divide the difference of them by the
 time lapsed.  This makes sense for the examples I gave you but there
 are other possibilities.  For instance, I'm able to retrieve the
 temperature from my router in three places namely the inlet, the
@@ -973,7 +973,7 @@ Line B: There is nothing to calculate. The numbers are as they are.
 
 =item *
 
-Line C: Again, the start-out value is unknown. The same story is holds
+Line C: Again, the start-out value is unknown. This is the same story
 as for line A. In this case the deltas are not constant, therefore the line
 is not either. If we would put the same numbers in the database as we did for
 line A, we would have gotten the same line. Unlike type counter,