From 4be0f003298ec0cb9a251abfeb67d8f439b6d1f3 Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 15 Nov 2009 11:53:56 +0000 Subject: [PATCH] fix pod syntax git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1969 a5681a0c-68f1-0310-ab6d-d61299d08faa --- doc/librrd.pod | 4 ++++ doc/rrdcached.pod | 65 ++++++++++++++++++++++++++++++++++++------------------- 2 files changed, 47 insertions(+), 22 deletions(-) diff --git a/doc/librrd.pod b/doc/librrd.pod index 038746c..dfe6f29 100644 --- a/doc/librrd.pod +++ b/doc/librrd.pod @@ -130,3 +130,7 @@ In contrast to L, the function does B fail if C already exists and is a directory. =back + +=head1 AUTHOR + +RRD Contributors diff --git a/doc/rrdcached.pod b/doc/rrdcached.pod index 043e020..0fa12ca 100644 --- a/doc/rrdcached.pod +++ b/doc/rrdcached.pod @@ -30,8 +30,8 @@ work with up-to-date data. The daemon was written with big setups in mind. Those setups usually run into IOErelated problems sooner or later for reasons that are beyond the scope of this document. Check the wiki at the RRDtool homepage for details. Also -check L below before using this daemon! A detailed -description of how the daemon operates can be found in the L +check L below before using this daemon! A detailed +description of how the daemon operates can be found in the L section below. =head1 OPTIONS @@ -43,7 +43,7 @@ section below. Tells the daemon to bind to I
and accept incoming connections on that socket. If I
begins with C, everything following that prefix is interpreted as the path to a UNIX domain socket. Otherwise the address or node -name are resolved using L. +name are resolved using getaddrinfo. For network sockets, a port may be specified by using the form CI
B<]:>I>. If the address is an IPv4 address or a fully @@ -204,27 +204,47 @@ containing C<../> will also be blocked. The following commands may be made aware of the B using the command line argument B<--daemon> or the environment variable B: -=over 4 +=over + +=item * + +dump + +=item * -=item B +fetch -=item B +=item * -=item B +flush -=item B +=item * -=item B +graph -=item B +=item * -=item B +graphv -=item B +=item * -=item B +info -=item B +=item * + +last + +=item * + +lastupdate + +=item * + +update + +=item * + +xport =back @@ -239,7 +259,7 @@ The daemon reports errors in one of two ways: During startup, error messages are printed to C. One of the steps when starting up is to fork to the background and closing C - after this writing directly to the user is no longer possible. Once this has happened, the daemon will send log messages -to the system logging daemon using L. The facility used is +to the system logging daemon using syslog(3). The facility used is C. =head1 HOW IT WORKS @@ -254,7 +274,7 @@ diagram below) are appended to the tree node. When appending a value to a tree node, it is checked whether it's time to write the values to disk. Values are written to disk if S= timeout>>, where C is the timeout specified -using the B<-w> option, see L. If the values are "old enough" they +using the B<-w> option, see L. If the values are "old enough" they will be enqueued in the "update queue", i.Ee. they will be appended to the linked list shown below. Because the tree nodes and the elements of the linked list are the same data structures in memory, any update to a file that @@ -404,7 +424,7 @@ You have been warned. The daemon communicates with clients using a line based ASCII protocol which is easy to read and easy to type. This makes it easy for scripts to implement the -protocol and possible for users to use L to connect to the daemon +protocol and possible for users to use telnet to connect to the daemon and test stuff "by hand". The protocol is line based, this means that each record consists of one or more @@ -415,7 +435,7 @@ CLFE> ("line feed"). After the connection has been established, the client is expected to send a "command". A command consists of the command keyword, possibly some arguments, and a terminating newline character. For a list of commands, see -L below. +L below. Example: @@ -481,7 +501,7 @@ commands and usage summaries are returned is not well defined. Returns a list of metrics which can be used to measure the daemons performance and check its status. For a description of the values returned, see -L below. +L below. The format in which the values are returned is similar to many other line based protocols: Each value is printed on a separate line, each consisting of the @@ -503,7 +523,7 @@ Example: =item B I I [I ...] Adds more data to a filename. This is B operation the daemon was designed -for, so describing the mechanism again is unnecessary. Read L +for, so describing the mechanism again is unnecessary. Read L above for a detailed explanation. Note that rrdcached only accepts absolute timestamps in the update values. @@ -631,8 +651,9 @@ L, L =head1 AUTHOR -B and this manual page have been written by Florian Forster -EoctoEatEverplant.orgE. +Florian Forster EoctoEatEverplant.orgE + +Both B and this manual page have been written by Florian. =head1 CONTRIBUTORS -- 2.11.0