build system: Rename `rrdd' to `rrdcached'.
authorFlorian Forster <octo@leeloo.home.verplant.org>
Mon, 23 Jun 2008 21:22:28 +0000 (23:22 +0200)
committerFlorian Forster <octo@leeloo.home.verplant.org>
Mon, 23 Jun 2008 21:22:28 +0000 (23:22 +0200)
CONTRIBUTORS
doc/Makefile.am
doc/rrdcached.pod [new file with mode: 0644]
doc/rrdd.pod [deleted file]
src/Makefile.am
src/rrd_daemon.c

index 847c1d1..a2dc232 100644 (file)
@@ -21,7 +21,7 @@ David Grimes <dgrimes with navisite.com> SQRT/SORT/REV/SHIFT/TREND
 David L. Barker <dave with ncomtech.com> xport function bug fixes
 Evan Miller <emiller with imvu.com> Multiplicative HW Enhancements
 Frank Strauss <strauss with escape.de> TCL bindings
-Florian octo Forster <rrdtool nospam.verplant.org> rrd_restore libxml2 rewrite deprecated function export
+Florian octo Forster <rrdtool nospam.verplant.org> rrd_restore libxml2 rewrite, deprecated function export, rrdcached
 Henrik Storner <henrik with hswn.dk> functions for min/max values of data in graph
 Hermann Hueni <hueni with glue.ch> (SunOS porting)
 Jakob Ilves <jilves with se.oracle.com> HPUX 11
index dd898ce..05d637d 100644 (file)
@@ -10,7 +10,7 @@ CLEANFILES = *.1 *.html *.txt *-dircache RRD?.pod *.pdf *~ core *itemcache *.rej
 
 POD = bin_dec_hex.pod        rrddump.pod            rrdgraph_examples.pod  rrdrestore.pod         rrdupdate.pod  \
       cdeftutorial.pod       rrdfetch.pod           rrdgraph_graph.pod     rrdthreads.pod         rrdxport.pod   \
-      rpntutorial.pod        rrdfirst.pod           rrdgraph_rpn.pod       rrdtool.pod            rrdd.pod       \
+      rpntutorial.pod        rrdfirst.pod           rrdgraph_rpn.pod       rrdtool.pod            rrdcached.pod       \
       rrd-beginners.pod      rrdinfo.pod            rrdtune.pod            rrdbuild.pod                          \
       rrdcgi.pod             rrdgraph.pod           rrdlast.pod            rrdlastupdate.pod                     \
       rrdcreate.pod          rrdgraph_data.pod      rrdresize.pod          rrdtutorial.pod                       
diff --git a/doc/rrdcached.pod b/doc/rrdcached.pod
new file mode 100644 (file)
index 0000000..92c65cc
--- /dev/null
@@ -0,0 +1,60 @@
+=pod
+
+=head1 NAME
+
+rrdcached - Data caching daemon for rrdtool
+
+=head1 SYNOPSIS
+
+B<rrdcached> [B<-l> I<address>] [B<-w> I<timeout>] [B<-f> I<timeout>]
+
+=head1 DESCRIPTION
+
+B<rrdcached> is a daemon that receives updates to existing RRD files,
+accumulates them and, if enough have been received or a defined time has
+passed, writes the updates to the RRD file. A I<flush> command may be used to
+force writing of values to disk, so that graphing facilities and similar can
+work with up-to-date data.
+
+=head1 OPTIONS
+
+=over 4
+
+=item B<-l> I<address>
+
+Tells the daemon to bind to I<address> and accept incoming connections on that
+socket. If I<address> begins with C<unix:>, everthing following that prefix is
+interpreted as the path to a UNIX domain socket. Otherwise the address or node
+name are resolved using L<getaddrinfo(3)>.
+
+=item B<-w> I<timeout>
+
+Data is written to disk every I<timeout> seconds.
+
+=item B<-f> I<timeout>
+
+Every I<timeout> seconds the entire cache is searched for old values which are
+written to disk. This only concerns files to which updates have stopped, so
+setting this to a high value, such as 3600 seconds, is acceptable in most
+cases.
+
+=back
+
+=head1 BUGS
+
+=over 4
+
+=item
+
+Base directory is currently hard coded. The daemon will chdir to C</tmp/>.
+
+=back
+
+=head1 SEE ALSO
+
+L<rrdtool(1)>, L<rrdgraph(1)>
+
+=head1 AUHOR
+
+B<rrdcached> and this manual page have been written by Florian Forster
+E<lt>octoE<nbsp>atE<nbsp>verplant.orgE<gt>.
diff --git a/doc/rrdd.pod b/doc/rrdd.pod
deleted file mode 100644 (file)
index e0c322a..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-=pod
-
-=head1 NAME
-
-RRDd - Data caching daemon for rrdtool
-
-=head1 SYNOPSIS
-
-B<rrdd> [B<-l> I<address>] [B<-w> I<timeout>] [B<-f> I<timeout>]
-
-=head1 DESCRIPTION
-
-RRDd is a daemon that receives updates to existing RRD files, accumulates them
-and, if enough have been received or a defined time has passed, writes the
-updates to the RRD file. A I<flush> command may be used to force writing of
-values to disk, so that graphing facilities and similar can work with
-up-to-date data.
-
-=head1 OPTIONS
-
-=over 4
-
-=item B<-l> I<address>
-
-Tells the daemon to bind to I<address> and accept incoming connections on that
-socket. If I<address> begins with C<unix:>, everthing following that prefix is
-interpreted as the path to a UNIX domain socket. Otherwise the address or node
-name are resolved using L<getaddrinfo(3)>.
-
-=item B<-w> I<timeout>
-
-Data is written to disk every I<timeout> seconds.
-
-=item B<-f> I<timeout>
-
-Every I<timeout> seconds the entire cache is searched for old values which are
-written to disk. This only concerns files to which updates have stopped, so
-setting this to a high value, such as 3600 seconds, is acceptable in most
-cases.
-
-=head1 BUGS
-
-=over 4
-
-=item 
-
-Uses way too much CPU time after running for a while.
-
-=item
-
-Base directory is currently hard coded. The daemon will chdir to C</tmp/>.
-
-=back
-
-=head1 SEE ALSO
-
-L<rrdtool(1)>, L<rrdgraph(1)>
-
-=head1 AUHOR
-
-RRDd and this manual page have been written by Florian Forster
-E<lt>octoE<nbsp>atE<nbsp>verplant.orgE<gt>.
index d7f82ec..371ebf5 100644 (file)
@@ -82,7 +82,7 @@ librrd_th_la_LIBADD          = $(ALL_LIBS)
 
 include_HEADERS        = rrd.h rrd_format.h
 
-bin_PROGRAMS   = rrdtool rrdupdate rrdd
+bin_PROGRAMS   = rrdtool rrdupdate rrdcached
 
 if BUILD_RRDCGI
 bin_PROGRAMS += rrdcgi
@@ -98,10 +98,10 @@ rrdtool_SOURCES = rrd_tool.c
 rrdtool_DEPENDENCIES = librrd.la
 rrdtool_LDADD  = librrd.la
 
-rrdd_SOURCES = rrd_daemon.c
-rrdd_DEPENDENCIES = librrd.la
-rrdd_CPPFLAGS = -DVERSION='"$(VERSION)"'
-rrdd_LDADD = librrd.la
+rrdcached_SOURCES = rrd_daemon.c
+rrdcached_DEPENDENCIES = librrd.la
+rrdcached_CPPFLAGS = -DVERSION='"$(VERSION)"'
+rrdcached_LDADD = librrd.la
 
 # strftime is here because we do not usually need it. unices have propper
 # iso date support
index df31d51..d738c73 100644 (file)
@@ -949,7 +949,7 @@ static int daemonize (void) /* {{{ */
     sigaction (SIGPIPE, &sa, NULL);
   }
 
-  openlog ("rrdd", LOG_PID, LOG_DAEMON);
+  openlog ("rrdcached", LOG_PID, LOG_DAEMON);
 
   cache_tree = g_tree_new ((GCompareFunc) strcmp);
   if (cache_tree == NULL)
@@ -1052,7 +1052,7 @@ static int read_options (int argc, char **argv) /* {{{ */
       case '?':
         printf ("RRDd %s  Copyright (C) 2008 Florian octo Forster\n"
             "\n"
-            "Usage: rrdd [options]\n"
+            "Usage: rrdcached [options]\n"
             "\n"
             "Valid options are:\n"
             "  -l <address>  Socket address to listen to.\n"
@@ -1061,7 +1061,7 @@ static int read_options (int argc, char **argv) /* {{{ */
             "\n"
             "For more information and a detailed description of all options "
             "please refer\n"
-            "to the rrdd(1) manual page.\n",
+            "to the rrdcached(1) manual page.\n",
             VERSION);
         status = -1;
         break;