==========================
Bug Fixes
---------
-* Brought commmand-line options and documentation back into sync.
+* Brought command-line options and documentation back into sync.
* Make LINE dashes option work again
RRDtool 1.5.2 - 2015-04-23
==========================
Bug Fixes
---------
-* paramters in VDEF are vnames and not data source names, hence
+* parameters in VDEF are vnames and not data source names, hence
they can be 255 chars long and not only 20
RRDtool 1.5.1 - 2015-04-22
Bugfixes
--------
-* properly verify validity of user suplied format strings
+* properly verify validity of user supplied format strings
* remove graph functions from python module when compiled without graphing
support
* verify that only short integers are used in COMPUTE rpn expressions
* Added a no-op string positioning combo "\." this allows to write
COMMENT:OS\2\. which would otherwise not be possible.
-* JSON output of xport is now actually json compilant by its keys
+* JSON output of xport is now actually json compliant by its keys
being properly quoted now.
* The label positioner in rrd_graph is now properly ignoring the current
| Author: Tobias Oetiker <tobi@oetiker.ch>
| Date: Tue Mar 19 07:17:23 2013 +0100
|
-| fixed overflow probem with partial matching
+| fixed overflow problem with partial matching
|
* commit a1768b2580bdd4451be66928e8bfc32a82c9ada9
| Author: Tobias Oetiker <tobi@oetiker.ch>
| Author: Tobias Oetiker <tobi@oetiker.ch>
| Date: Thu Feb 2 15:38:44 2012 +0000
|
-| use posix_fallocate when initialiying rrd files ... instead of filling them with yero explicitly -- Richard Laager
+| use posix_fallocate when initializing rrd files ... instead of filling them with yero explicitly -- Richard Laager
|
|
| git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2270 a5681a0c-68f1-0310-ab6d-d61299d08faa
New Functionality:
-* added a nop control for string formating, so that strings ending in /x are
+* added a nop control for string formatting, so that strings ending in /x are
possible by entering \x\. fix for #331
* added support for rrdgraph to use the yotta, zetta, zepto, yocto prefixes.
* rrdgraph: make sure we do not try to draw points all that far outside the
drawing area since some versions of cairo seem to go unstable when this
happens. -- Peter Stamfest
- * rrdgraph: fix an endles loop near 2^31 timestamp (32bit platform problem)
+ * rrdgraph: fix an endless loop near 2^31 timestamp (32bit platform problem)
-- Peter Stamfest
* compilation: AIX does not like MAP_PRIVATE and -lW in LDFLAGS #216 -- tobi
* compliation: add extra space in LDFLAGS #284 -- dam at opencsw
2009-10-28 05:14 oetiker
* src/rrd_daemon.c: Avoid unnecessary string handling for UPDATE
- commands in rrd_deaemon for 20x speed increasse. Only copy as many
+ commands in rrd_daemon for 20x speed increase. Only copy as many
bytes as necessary. During journal replay, avoid unnecessary copy
(string is discarded). Bug reported by Thorsten von Eicken Patched
by kevin brintnall
* configure.ac, src/rrd_dump.c, src/rrd_graph.c, src/rrd_restore.c,
src/rrd_tool.c: remove HAVE_LOCALE_H and HAVE_TIME_H and
- HAVE_SETLOCALE since they have not been used consistantly anyway
+ HAVE_SETLOCALE since they have not been used consistently anyway
2009-10-27 16:12 oetiker
2009-10-27 13:54 oetiker
* src/rrd_graph.c: simplify rrd_graph LC_NUMERIC fix so that all
- call paramters are affected by it.
+ call parameters are affected by it.
2009-10-27 13:13 oetiker
2009-10-04 11:48 oetiker
- * src/rrd_tool.c: * comment on the reson for calling setlocale * to
+ * src/rrd_tool.c: * comment on the reason for calling setlocale * to
not force the message encoding ... messages should be encoded in
the current locale
debian/librrd0.postinst, debian/librrd0.postrm,
debian/librrd0.shlibs, debian/librrdp-perl.files,
debian/librrds-perl.files, debian/rrdtool-tcl.files,
- debian/rrdtool.files, debian/rules, debian/watch: replae with
+ debian/rrdtool.files, debian/rules, debian/watch: replace with
pointer
2009-08-24 12:02 oetiker
2009-08-20 22:02 oetiker
- * src/rrd_graph.c, src/rrd_tool.c: Trim trailing whitespace, reoder
+ * src/rrd_graph.c, src/rrd_tool.c: Trim trailing whitespace, reorder
getopt_long per shortopt char; Fix -D while at it -- Bernhard
Reutner-Fischer
2009-08-08 09:36 oetiker
- * doc/rrdgraph.pod: add some shell proggramming advice ... Bernhard
+ * doc/rrdgraph.pod: add some shell programming advice ... Bernhard
Reutner-Fischer
2009-08-08 09:34 oetiker
* src/rrd_tune.c: rrd_tune HW Update Allow to set the smoothing
window (alpha, beta, gamma) to zero. I'm using rrdtool 1.3.8 with
- abberant behavior detection from the Brutlag method. I need to use
+ abberrant behavior detection from the Brutlag method. I need to use
a week seasonality and no smoothing for the SEASONAL and
DEVSEASONAL. So I use rrdtune in order to set the smoothing window
to 0.0. This calls the set_hwarg(). But this method is also used
to tune the alpha, beta and gamma that can't be set to 0.0 So when
I tune my smoothing window size to 0.0, it returns -1 due to the
if(window<=0.0) then do nothing. I join here a small correction
- with a differnent method used to set only the smoothing window
+ with a different method used to set only the smoothing window
size and allowing it to be zero. -- sylvain.luiset gmail.com
2009-07-28 16:49 oetiker
2009-06-01 13:58 oetiker
* branches/1.3/program/src/rrd_update.c, src/rrd_update.c: make
- negative update times work as diescribed in the documentation (-5
+ negative update times work as described in the documentation (-5
is NOW-5seconds) this takes care of debian bug 332766
2009-05-28 05:25 oetiker
bindings/Makefile.am, configure.ac, doc/Makefile.am,
m4/acinclude.m4, po/ChangeLog, po/Makevars, src/Makefile.am,
src/rrd_i18n.h: the get ready for 1.4rc patch * updated to
- automake 1.11 with silet build, with this warnings stand out much
+ automake 1.11 with silent build, with this warnings stand out much
better in the build process. use make V=1 to see all as before *
switched from intltoolize to autopoint for gettext support * moved
m4 bits into their own subdirectory --tobi
restored. This is due to the use of libxml2 for parsing the the
whole file prior to turning it into rrd structs. This patch
switches rrd_restore to using the xmlTextReader interface for
- incremental consumtion of xml files. This reduces the memory
+ incremental consumption of xml files. This reduces the memory
requirements to about twice the size of the rrd file which should
be quite manageable for most cases. The parsing is about 25% less
efficient than with the original libxml2 version of rrd_restore.
2009-05-22 14:54 oetiker
- * src/rrd_update.c: reset errno right befor the call I want to test
+ * src/rrd_update.c: reset errno right before the call I want to test
2009-05-22 13:55 oetiker
2009-05-21 05:20 oetiker
- * doc/rrdgraph.pod: fix text organisation
+ * doc/rrdgraph.pod: fix text organization
2009-05-18 14:23 oetiker
WIN32-BUILD-TIPS.txt, bindings/Makefile.am,
bindings/perl-shared/MANIFEST, bindings/perl-shared/ntmake-build,
bindings/perl-shared/ntmake.PL: Renaming ntmake.pl to ntmake.PL
- (r1742) had unforseen side effects. At least on freebsd ntmake.PL
+ (r1742) had unforeseen side effects. At least on freebsd ntmake.PL
gets called automatically during build. This is not desired. I
- renamed the file to ntmake-build sinc it gets called explicilty on
+ renamed the file to ntmake-build since it gets called explicitly on
windows anyway. Reported by Kevin modified by Tobi
2009-03-07 10:31 oetiker
branches/1.3/program/src/rrd_graph.h,
branches/1.3/program/src/rrd_tool.c, doc/rrdgraph.pod,
src/rrd_graph.c, src/rrd_graph.h, src/rrd_tool.c: * forward ported
- right axis patch from 1.2 branche * fixed --full-size-mode sizing
+ right axis patch from 1.2 branch * fixed --full-size-mode sizing
issue when used in combination with --title the work in the axis
patch has been sponsored by VoltWerk.
2008-11-02 15:25 oetiker
* configure.ac: reverting non build makefile patch ... we need to
- lua makefile for building the ditribution
+ lua makefile for building the distribution
2008-11-01 09:09 oetiker
2008-10-28 08:57 oetiker
* NEWS, doc/rrddump.pod, doc/rrdtool-dump.xsd, src/rrd_dump.c,
- src/rrd_tool.c: - remove the spaccing between the elements - add
+ src/rrd_tool.c: - remove the spacing between the elements - add
xsd support to dump output - change the argument
"[--no-header|-n]" to [--header|-h {xsd,dtd}] -- tobias.lindenmann
1und1.de
2008-10-18 22:32 oetiker
* src/rrd_open.c: rrd_open should not create files with restrictive
- masks Removed unnecessary "mode" varaible. The mode is only used
+ masks Removed unnecessary "mode" variable. The mode is only used
when O_CREAT is specified, where we want to use 0666 (as
rrd_create_fn did r<=1612). --kevin
* src/rrd_daemon.c: Under most circumstances, rrdcached can detect a
stale pid file. If the process in the pid file does not exist, or
- cannot be signalled by the rrdcached owner, then rrdcached will
+ cannot be signaled by the rrdcached owner, then rrdcached will
replace the pid file and start normally. Otherwise, it will
complain verbosely to STDERR. --kevin
in journal processing, and cleans up the code a little bit. *
moved journal initialization to its own function; main() is
cleaner * any time we process a file, log the results (previous
- code only loggded if there was a valid entry) * After reading
+ code only logged if there was a valid entry) * After reading
journals at startup, only trigger full flush out to disk if the
user specified -F. Avoids unnecessary IO on startup unless the
user also wants unnecessary IO on shutdown. * journal_replay is
* trunk/tutorial/lisa2008/rrd-by-example/body.tex,
trunk/tutorial/lisa2008/rrd-by-example/ex/graph-examples.pl: added
- graditents
+ gradients
2008-10-04 13:34 oetiker
2008-10-03 22:53 oetiker
* branches/1.3/program/src/rrd_open.c, src/rrd_open.c: The patch
- fixs rrdtools behaviour when presented with trunkated rrd files. *
+ fixes rrdtools behaviour when presented with truncated rrd files. *
Make sure that we do not extend past the end of the file when
reading the header. * Makes sure that the data portion of the file
is large enough, based on the ds_cnt and the total number of RRA
2008-10-01 20:22 oetiker
* src/Makefile.am: since rrdcached uses pthread functions, use the
- threadsafe version of librrd as well. This will also reasolve
+ threadsafe version of librrd as well. This will also resolve
build problems on boxes there the ptherad functions must be linked
explicitly.
2008-09-28 19:10 oetiker
* src/rrd_daemon.c: When -z <jitter> is specified, some updates may
- be timestamped up to <jitter> seconcds in the future. Therefore, a
+ be timestamped up to <jitter> seconds in the future. Therefore, a
timeout of now+1 may not be sufficient. Set abs_timeout past the
point where any updates are currently specified. -- kevin
brintnall
src/rrd_tool.c: vdef calc was using end_orig to determine for
which range it should do its calculations which is odd, since orig
is only the requested range as invocation time and not the data
- range deliverd by fetch. It does fall completely flat when
+ range delivered by fetch. It does fall completely flat when
shifting since shifting does not affect the original data. Bug
#177 reported by hokiel
2008-09-19 20:34 oetiker
* branches/1.3/program/bindings/perl-shared/Makefile.PL,
- bindings/perl-shared/Makefile.PL: Bsd lirary path switch added to
+ bindings/perl-shared/Makefile.PL: Bsd library path switch added to
perl bindings makefile -- as suggested by Kevin Brintnall
2008-09-18 13:30 oetiker
src/rrd_last.c, src/rrd_lastupdate.c, src/rrd_tool.c,
src/rrd_tool.h, src/rrd_update.c, src/rrd_xport.c: RRDcached
patch. This implements an infrastructure, where rrd updates can be
- sent to a daemon which caches them prior to bulk-updateing rrd
+ sent to a daemon which caches them prior to bulk-updating rrd
files. See the rrdcached manual page. -- Created by Florian
Forster with some help from Kevin Brintnall.
* configure.ac, src/Makefile.am, src/rrd_config_bottom.h: regarding
#183: * move part of rrd_config.h out to a separate file, so that
autoconf is not confused by the more complex expressions. * fix
- configure variable name to allow caching * another attemt at
+ configure variable name to allow caching * another attempt at
fixing solaris 2.8 compile so that it works out of the box.
2008-09-13 10:56 oetiker
trunk/website/inc/favicon.ico, trunk/website/inc/happy-tobi.png,
trunk/website/inc/rrdtool-gold.png,
trunk/website/oscon-120x60.gif, trunk/website/stream-pop.png:
- missing bits atted
+ missing bits added
2008-09-08 22:09 oetiker
2008-09-07 10:22 oetiker
* trunk/website/index.wml, trunk/website/navbar.inc,
- trunk/website/support.wml: sync befor branching
+ trunk/website/support.wml: sync before branching
2008-09-07 07:19 oetiker
and use rrd_getopt if there is no getopt_long provided by by the
os ... this should also fix problems for solaris 2.8 and other non
getopt_long oses who were not taken care of anymore after the
- intriduction of librrd.sym
+ introduction of librrd.sym
2008-09-06 10:39 oetiker
2008-09-04 21:45 oetiker
- * src/rrd_graph.c: introduced a persistant fontmap ... this makes
+ * src/rrd_graph.c: introduced a persistent fontmap ... this makes
our pango rendering 6 times faster starting from the second graph
we draw.
2008-08-31 10:52 oetiker
* bindings/perl-shared/RRDs.xs, bindings/ruby/main.c: use the
- standart info free function
+ standard info free function
2008-08-28 05:49 oetiker
* src/rrd.h, src/rrd_gfx.c, src/rrd_graph.c, src/rrd_open.c,
src/rrd_update.c: fixed indentation ... gnu indent results are not
- realy beautifl. I might switch to uncrustify.
+ really beautiful. I might switch to uncrustify.
2008-08-27 21:25 oetiker
* trunk/tutorial/lisa2008,
trunk/tutorial/lisa2008/abstract-rrdexample.txt,
- trunk/tutorial/lisa2008/abstract-rrdtut.txt: intial
+ trunk/tutorial/lisa2008/abstract-rrdtut.txt: initial
2008-06-19 13:18 oetiker
2008-06-06 16:38 oetiker
* branches/1.2/program/src/rrd_graph.c, src/rrd_graph.c: fix for
- --font bug (font names wer not being picked up at all). Bug
+ --font bug (font names were not being picked up at all). Bug
reported by Dmitry B. Bigunayk
2008-06-05 20:56 oetiker
2008-06-02 06:21 oetiker
* src/rrd_restore.c: use DNAN instead of NAN since there seem to be
- issues with gcc on solaris and the NAN experession (and we use
+ issues with gcc on solaris and the NAN expression (and we use
DNAN everywhere else anyway).
2008-06-01 21:12 oetiker
2008-05-26 07:45 oetiker
* src/rrd_graph.c: * make y-axis labels NOT run into each other
- (classic and alt) * space horizontal grid lines and lables a bit
+ (classic and alt) * space horizontal grid lines and labels a bit
further apart for tight layouts. * let horizontal lines and y axis
labels run a little closer for classic grid
2008-05-20 22:22 oetiker
- * bindings/Makefile.am: droped rrd_extra.h from the distro with the
+ * bindings/Makefile.am: dropped rrd_extra.h from the distro with the
python update ... must remove it from the Makefile too
2008-05-19 21:14 oetiker
2008-05-04 18:59 oetiker
- * src/rrd_getopt.c, src/rrd_getopt1.c: fix for sun sudio 11
+ * src/rrd_getopt.c, src/rrd_getopt1.c: fix for sun studio 11
incompatibility
http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=38555
doc/rrdgraph.pod, src/rrd.h, src/rrd_graph.c, src/rrd_graph.h,
src/rrd_info.c, src/rrd_tool.c, src/rrd_tool.h: Introduced a
alternated interface to rrd_graph using rrd_info style return
- values: rrd_graph_v The graph_v interface returnes additional
+ values: rrd_graph_v The graph_v interface returns additional
information about the graph including the location of the graphing
area within the image. When called with '-' as filename it will
even return the image data. The new interface is supported in the
2008-04-16 15:50 oetiker
* branches/1.2/program/doc/rrdgraph.pod, doc/rrdgraph.pod: fixed 2.
- x-grid example ... since the lable is valid for the whole day, it
+ x-grid example ... since the label is valid for the whole day, it
must be 86400 wide. --tobi
2008-04-12 09:29 oetiker
* branches/1.2/program/src/parsetime.c, src/parsetime.c: do not mess
with dst status after running localtime, the system gets confused
- otherwhise when it comes to times during the switch over periode
+ otherwise when it comes to times during the switch over period
as DST changes to non DST. -- tobi
2008-03-25 23:02 oetiker
2008-03-25 22:59 oetiker
- * doc/rrdgraph_examples.pod: added missing =back for propper pod
+ * doc/rrdgraph_examples.pod: added missing =back for proper pod
syntax
2008-03-25 22:58 oetiker
2008-03-15 10:32 oetiker
- * src/rrd_rpncalc.c: reat nan as FALSE in an IF CDEF
+ * src/rrd_rpncalc.c: treat nan as FALSE in an IF CDEF
2008-03-07 08:57 oetiker
2008-02-01 06:52 oetiker
* branches/1.2/program/src/rrd_graph.c, src/rrd_graph.c: fixed
- parsing of fontnames with embeded spaces
+ parsing of fontnames with embedded spaces
2008-01-14 17:11 oetiker
2007-09-16 15:35 oetiker
* src/rrd_open.c: no reason to die when posixfadvise is not
- sucessful
+ successful
2007-09-11 06:28 oetiker
* doc/rrdcreate.pod, doc/rrdtune.pod, src/rrd_create.c,
src/rrd_dump.c, src/rrd_format.h, src/rrd_hw.c, src/rrd_info.c,
src/rrd_restore.c, src/rrd_tune.c: Allow to the the smoothing
- window size other thatn the default 5%. -- Evan Miller emiller
+ window size other than the default 5%. -- Evan Miller emiller
imvu.com
2007-09-11 06:16 oetiker
2007-09-07 22:53 oetiker
* Makefile.am, examples/Makefile.am, examples/perftest.pl.in: a few
- leanups -- Bernhard Fischer
+ cleanups -- Bernhard Fischer
2007-09-06 09:06 oetiker
2007-09-02 16:55 oetiker
- * doc/rrdgraph_graph.pod: fixed speling of horizon
+ * doc/rrdgraph_graph.pod: fixed spelling of horizon
2007-08-29 06:43 oetiker
2007-08-03 21:27 oetiker
- * trunk/talks/rrdtool13/rrdtool13.odp: addded details
+ * trunk/talks/rrdtool13/rrdtool13.odp: added details
2007-08-03 19:46 oetiker
2007-07-30 22:29 oetiker
- * trunk/tutorial/lisa2007/abstract-rrdtut.txt: added toppics
+ * trunk/tutorial/lisa2007/abstract-rrdtut.txt: added topics
2007-07-25 20:38 oetiker
* src/rrd_open.c: * remove some experimental code from rrd_open *
rrd_dontneed will release all data except for header blocks and
- RRA hot blocks which are going to be updated withing 10 minutes.
+ RRA hot blocks which are going to be updated within 10 minutes.
2007-07-21 19:53 oetiker
* src/rrd_fetch.c: for now, do not release fetched data ... in the
- future we may call rrd_dontneed and let the users decied with an
+ future we may call rrd_dontneed and let the users decide with an
option if they want to keep the data in cache ...
2007-07-21 19:52 oetiker
* src/Makefile.am: the fonts are now taken from the system. we do
- not distribute them anympore
+ not distribute them anymore
2007-07-21 19:37 oetiker
2007-07-20 22:20 oetiker
- * src/rrd_format.h: we have a new holtwinders aggregation fucntion,
+ * src/rrd_format.h: we have a new holtwinters aggregation function,
so we have a new version ...
2007-07-20 22:19 oetiker
* trunk/tutorial/emanics/rrd-exercises.tex,
trunk/tutorial/emanics/rrdtutorial.odp,
- trunk/tutorial/linuxforum2007/rrdtutorial.odp: monor updates
+ trunk/tutorial/linuxforum2007/rrdtutorial.odp: minor updates
2007-07-11 23:08 oetiker
* trunk/contrib/php4/config.m4, trunk/contrib/php4/configure,
trunk/contrib/php4/ltconfig, trunk/contrib/php4/php_rrdtool.h,
trunk/contrib/php4/rrdtool.c: lets have just a single rrdtool
- extension annd not two ... -- Jarod Wilson <jwilson@redhat.com>
+ extension and not two ... -- Jarod Wilson <jwilson@redhat.com>
2007-06-15 21:49 oetiker
src/rrd_resize.c, src/rrd_tool.c, src/rrd_tune.c,
src/rrd_update.c: More updates from Bernhard Fischer - flag
rrd_resize's old file with RRD_COPY - cleanup error-handling
- pathes in rrd_update and fix a few typos in comments -
+ patches in rrd_update and fix a few typos in comments -
rrd_close(): implement printing mincore results for the rrd if
DEBUG=2 was defined - rrd_open(): madvise start addresses need to
be page-aligned; implement alternative path to the fine-grained
configure: add check for O_DIRECT flag to open(2). Add option
--enable-direct-io. Add _GNU_SOURCE to CFLAGS to silence warnings
about chroot which is marked LEGACY since SUSv2 and is a non POSIX
- extension. Make checks for posix_fadvise() dependant on
+ extension. Make checks for posix_fadvise() dependent on
--disable-mmap, since we do not need fadvise for the mmap case.
2007-05-25 15:24 oetiker
2007-05-23 21:40 oetiker
- * src/gdpng.c: removed superfluouse code
+ * src/gdpng.c: removed superfluous code
2007-05-23 21:39 oetiker
2005-04-03 11:44 oetiker
- * doc/rrdgraph_graph.src, src/rrd_graph_helper.c: paramters in SHIFT
+ * doc/rrdgraph_graph.src, src/rrd_graph_helper.c: parameters in SHIFT
are separated by : like everywhere else
2005-04-03 11:36 oetiker
2005-04-03 10:10 oetiker
* CONTRIBUTORS, src/rrd_graph.c, src/rrd_graph.h: fix graph layout
- ... especially consider text propperties propperly
+ ... especially consider text properties properly
2005-04-03 09:37 oetiker
* src/rrd_graph_helper.c: the legend string of a PRINT command gets
- renderd later by runnning it through printf.
+ rendered later by running it through printf.
2005-04-03 09:35 oetiker
* configure.ac, src/rrd_update.c: MMAP support for rrdtool this is
- suposed to speed-up uptime 4 times. -- Radoslaw Karas
+ supposed to speed-up uptime 4 times. -- Radoslaw Karas
<rkaras@tyndall.ie>
2005-03-20 21:17 oetiker
* src/rrd_graph.c, src/rrd_graph.h, src/rrd_graph_helper.c: * allow
configuration of the default tab width * added new configurable
color AXIS * made tabbing support work with legend elements * use
- propper font for the legend: LEGEND * fix apperance by makeing
+ proper font for the legend: LEGEND * fix appearance by making
grid more transparent * draw axis over the graph not under it.
2005-03-20 20:56 oetiker
2005-03-13 16:34 oetiker
- * bindings/perl-shared/RRDs.xs: propperly integrate rrd_first
+ * bindings/perl-shared/RRDs.xs: properly integrate rrd_first
2005-03-13 16:13 oetiker
trunk/meta/plan-1.2.txt, ., .cvsignore, bindings/.cvsignore,
bindings/perl-piped/.cvsignore, bindings/perl-shared/.cvsignore,
bindings/tcl/.cvsignore, doc/.cvsignore, examples/.cvsignore,
- libraries/.cvsignore, src/.cvsignore: ignorelists are a propperty
+ libraries/.cvsignore, src/.cvsignore: ignorelists are a property
of an svn directory not a file
2005-03-03 13:21 oetiker
2005-02-27 22:00 oetiker
- * src/rrd_cgi.c: do not complain when setting environemnt variable
- sucessfully. -- hunter@mimuw.edu.pl
+ * src/rrd_cgi.c: do not complain when setting environment variable
+ successfully. -- hunter@mimuw.edu.pl
2005-02-13 16:13 oetiker
2004-06-23 20:36 oetiker
- * src/rrd_graph.c: It's quie enough that the title is placed on the
+ * src/rrd_graph.c: It's quite enough that the title is placed on the
top of the graph, there's no need to emphasize it more. --
Stanislav Sinyagin <ssinyagin@yahoo.com>
2004-05-25 22:03 oetiker
* doc/Makefile.am, doc/rrdtool-dump.dtd, doc/rrdtool-xport.dtd:
- added dtd descriptsion s or rrdtool xml output -- Wolfgang Schrimm
+ added dtd descriptions or rrdtool xml output -- Wolfgang Schrimm
<wolfgang{dot}schrimm{at}urz{dot}uni-heidelberg{dot}de>
2004-05-25 21:06 oetiker
2004-01-19 23:16 oetiker
* src/Makefile.am, src/rrd_gfx.h: modifications for 'no more local
- libaries'
+ libraries'
2004-01-15 18:14 oetiker
2003-09-04 13:16 oetiker
- * src/rrd_update.c: should not assigne but compare ... grrrrr
+ * src/rrd_update.c: should not assign but compare ... grrrrr
2003-09-02 21:58 oetiker
allows calculations based on the position of a value within a data
set. Bug fix in rrd_rpncalc.c. PREV returned erroneus value for
the second value. Bug fix in rrd_restore.c. Bug causing seek error
- when accesing an RRD restored from an xml that holds an RRD
+ when accessing an RRD restored from an xml that holds an RRD
version <3. -- Ruben Justo <ruben@ainek.com>
2003-04-04 20:51 oetiker
2003-03-01 22:25 oetiker
- * src/rrd_tool.c: realy suppress size output when talking to stdout.
+ * src/rrd_tool.c: really suppress size output when talking to stdout.
Patch from Mat Zimmerman @ debian
2003-02-24 18:26 oetiker
* libraries/libpng-1.2.0/Makefile.am, src/Makefile.am: make the
threading work and compile, fix linking to libpng and update the
- timestaps int the files
+ timestamps in the files
2003-02-20 21:27 oetiker
* src/Makefile.am, src/rrd_thread_safe.c, src/rrd_tool.c: updated
- copyrigh dates removed error.h from threaded variant added
+ copyright dates removed error.h from threaded variant added
compiletime to rrdtool
2003-02-16 12:32 oetiker
2003-02-11 10:16 oetiker
* doc/rrdgraph_graph.src: removed lg we do not allow this in the
- code at th moment
+ code at the moment
2003-02-05 18:16 oetiker
2002-09-02 18:41 oetiker
- * src/rrd_graph.c: fixed leak in VDEF_PERCENT handlin -- Perry Stoll
+ * src/rrd_graph.c: fixed leak in VDEF_PERCENT handling -- Perry Stoll
<perry_stoll@yahoo.com>
2002-08-01 05:42 oetiker
2002-05-08 20:34 oetiker
- * doc/rrdtool.pod, src/rrd_tool.c, src/rrd_tool.h: Add funtionality
+ * doc/rrdtool.pod, src/rrd_tool.c, src/rrd_tool.h: Add functionality
to rrdtool to run it as a 'server' -- Hartmut.Vogler@epost.de
2002-05-07 21:58 oetiker
2002-04-24 20:54 oetiker
- * configure.ac, doc/rrdgraph.src: fixed adress for wishlist
+ * configure.ac, doc/rrdgraph.src: fixed address for wishlist
2002-04-24 20:49 oetiker
2002-04-03 14:52 oetiker
* src/rrd_gfx.c, src/rrd_gfx.h, src/rrd_graph.c, src/rrd_graph.h: As
- gfx_canvas_t now has excatly the same lifespan as image_desc_t,
+ gfx_canvas_t now has exactly the same lifespan as image_desc_t,
I've made 'gfx_canvas_t canvas' a member of image_desc_t and
dropped it as a separate parameter in all function calls.
imgformat, interlaced and zoom are moved to gfx_canvas_t. I have
2002-04-02 21:31 oetiker
- * src/rrd_restore.c: aded missing fcntl.h
+ * src/rrd_restore.c: added missing fcntl.h
2002-04-02 19:37 oetiker
2002-03-12 07:19 oetiker
- * libraries/zlib-1.1.3: realy remove zlibe 1.1.3 dir
+ * libraries/zlib-1.1.3: really remove zlibe 1.1.3 dir
2002-03-12 07:18 oetiker
2002-02-09 06:21 oetiker
- * src/rrd_gfx.c: do propper error checking and release memmory when
+ * src/rrd_gfx.c: do proper error checking and release memory when
it is not required anymore
2002-02-08 18:40 oetiker
src/rrd_format.h, src/rrd_gfx.c, src/rrd_gfx.h, src/rrd_graph.c,
src/rrd_graph.h, src/rrd_tool.c, src/rrd_tool.h: The BIG graph
update * Replace libgd with libart * Added freetype * Updated zlib
- and libpng * rrd_gfx.c intrduced as libart wrapper * LINE takes
+ and libpng * rrd_gfx.c introduced as libart wrapper * LINE takes
now a float as argument * rrdtool uses truetype for fonts * thanks
- to libart there is now full alpha transparenc and antialiasing. *
+ to libart there is now full alpha transparency and antialiasing. *
the new option --font lets customize the font and size for various
graph elements * Updated to -> libtool 1.4.2 automake 2.12
autoconf 2.52 * new --zoom commandline option for zoom ans
created and smoothed with the old code. (4) Adds the
aberrant-reset flag to rrd tune. This operation, which is
specified for a single data source, causes the holt-winters
- algorithm to forget everthing it has learned and start over. (5)
+ algorithm to forget everything it has learned and start over. (5)
Fixes a few out-of-date code comments.
2001-08-13 18:58 oetiker
2001-07-18 22:30 oetiker
- * src/rrd_graph.c, src/rrd_rpncalc.c: VDEF and VRULE are comig along
+ * src/rrd_graph.c, src/rrd_rpncalc.c: VDEF and VRULE are coming along
-- Alex van den Bogaerdt <alex@slot.hollandcasino.nl>
2001-06-05 13:42 oetiker
2001-03-31 15:21 oetiker
- * Makefile.am: added 'all' dependancy to site-perl-install rule as
- many seem to skip this step when instaling cricket ... probably an
+ * Makefile.am: added 'all' dependency to site-perl-install rule as
+ many seem to skip this step when installing cricket ... probably an
incomplete cricket doku.
2001-03-15 19:43 oetiker
2001-03-11 11:49 oetiker
- * src/rrd_create.c: reindented the cource for better readability
+ * src/rrd_create.c: reindented the source for better readability
2001-03-10 23:54 oetiker
doc/rrdgraph_data.src, doc/rrdgraph_examples.src,
doc/rrdgraph_graph.src, doc/rrdgraph_rpn.src, doc/see_also.inc,
src/rrd_tune.c: complete rewrite of rrdgraph documentation. This
- also includs info on upcomming/planned changes to the rrdgraph
+ also includes info on upcomming/planned changes to the rrdgraph
interface and functionality -- Alex van den Bogaerdt
<alex@slot.hollandcasino.nl>
Shane O'Donnell <shaneo with opennms.org>
Simon Leinen <simon with switch.ch>
Steen Linden <Steen.Linden with ebone.net>
-Sebastian Harl <sh at tokkee.org> debian packaging, rrdcached fixes and ehancements
+Sebastian Harl <sh at tokkee.org> debian packaging, rrdcached fixes and enhancements
Stefan Ludewig <Stefan.Ludewig at exitgames.com> 1.3 WIN32 Port
Stefan Mueller <s.mueller with computer.org> HPUX 11
Steve Harris <steveh with wesley.com.au> AIX portability
Wolfgang Schrimm <wschrimm with uni-hd.de> xport function
Wrolf Courtney <wrolf with wrolf.net> (HP-UX)
hendrik visage <hvisage with is.co.za>
-Vytautas Zdanavicius <vytaszd@yahoo.com> -- python argument list exander
+Vytautas Zdanavicius <vytaszd@yahoo.com> -- python argument list expander
Martin Sperl <rrdtool martin.sperl.org> (CDEF prediction functions, libdbi)
Philippe Simonet <philippe.simonet with swisscom.ch> (Windows Binaries)
Alexander Lucke (lucke with dns-net.de) of DNS:NET Internet Services (www.dns-net.de) http://rrdtool.org
RRDcreate
---------
Ability to use exiting rrd files to pre-populate new ones. Allowing to
-preserve data even when fundamentally changeing the structure of your rrd
+preserve data even when fundamentally changing the structure of your rrd
files.
RRDcached
without functionality.
* In pipe mode, rrdtool answers with OK only if it was successful with the
- command. Otherwhise the answer will be ERROR...
+ command. Otherwise the answer will be ERROR...
Behind the Scenes
Random Feature Ideas for RRDtool
--------------------------------
-make it possible to define order of legend items independant of their order
+make it possible to define order of legend items independent of their order
on the commandline ...
-architecture independant storage format.
+architecture independent storage format.
micro second precision
4/10/05 Tobi
The windows implementation of strftime does not seem to support
-the ISO 8601 week number (%V) I have therfore included the file
+the ISO 8601 week number (%V) I have therefore included the file
strftime.[ch] which provides strftime_ ... if you compile rrdtool
with -Dstrftime=_strftime and link strftime.o then you will
-get propper support for %V.
+get proper support for %V.
7/29/04 Jake Brutlag
After these steps it generates the test files (svgs and rrds),
and they seem to be good.
-The real problem in the shared perl modul is the following:
+The real problem in the shared perl module is the following:
I do not know how this installation stuff works. The problem is
that the installation stuff looks for the gd.lib and the
http://gnuwin32.sourceforge.net/packages/gawk.htm
- Note: Also fetch the dependant libraries for it from the same page.
+ Note: Also fetch the dependent libraries for it from the same page.
3. If you plan to create a 'distribution' release of the RRD Tools, the
Makefile.Win32 will copy all the needed files to an output directory and
ABS_TOP_BUILDDIR=${abs_top_builddir} \
$(RUBY_MAKE_OPTIONS) RUBYARCHDIR= )
-# rules for building the pyton module
+# rules for building the python module
python:
-mkdir -p ${builddir}/$@
cd ${builddir}/$@ \
ABS_TOP_BUILDDIR=${abs_top_builddir} \
$(RUBY_MAKE_OPTIONS) RUBYARCHDIR= )
-# rules for building the pyton module
+# rules for building the python module
python:
-mkdir -p ${builddir}/$@
cd ${builddir}/$@ \
* directory as this dll, or change the "const string dll" to point to the
* proper location. For documentation, please see the RRDtool website at:
* http://oss.oetiker.ch/rrdtool/
- * For useage examples, please see the rrd_binding_test project.
+ * For usage examples, please see the rrd_binding_test project.
****************************************************************************/
using System;
using System.Linq;
/// <summary>
/// This contains the actual data values for an rrd_info_t structure.
/// NOTE: Only one of these will be valid per instance. Use the containing info_t's
- /// type field to deteremine which of these to read.
+ /// type field to determine which of these to read.
/// NOTE: If the type is RD_I_STR, you have to marshal the string value yourself
/// </summary>
[StructLayout(LayoutKind.Explicit)]
/// <summary>
/// Returns the latest error from rrdlib
/// </summary>
- /// <returns>A string with the error message, or an emtpy string if no error occurred</returns>
+ /// <returns>A string with the error message, or an empty string if no error occurred</returns>
public static string Get_Error()
{
IntPtr ptr = rrd_get_error();
# darwin works without this because librrd contains its
# install_name which will includes the final location of the
- # library after it is installed. This install_name gets transfered
+ # library after it is installed. This install_name gets transferred
# to the perl shared object.
my $librrd;
if ($^O eq 'darwin'){
'INC' => '-I../../src/ "-I/Program Files/GnuWin32/include"',
# Since we are now using GnuWin32 libraries dynamically (instead of static
-# complile with code redistributed with rrdtool), use /MD instead of /MT.
+# compile with code redistributed with rrdtool), use /MD instead of /MT.
# Yes, this means we need msvcrt.dll but GnuWin32 dlls already require it
# and it is available on most versions of Windows.
'OPTIMIZE' => '-O2 -MD',
pkgindex_SCRIPTS = ifOctets.tcl
endif
-# Automake doen't like `tclrrd$(VERSION)$(TCL_SHLIB_SUFFIX)' as
+# Automake doesn't like `tclrrd$(VERSION)$(TCL_SHLIB_SUFFIX)' as
# library name. So we build and install this library `by hand'.
#
# We do, however, specify a lib_LIBRARIES target such that
@BUILD_TCL_SITE_FALSE@pkgindex_DATA = pkgIndex.tcl
@BUILD_TCL_SITE_FALSE@pkgindex_SCRIPTS = ifOctets.tcl
-# Automake doen't like `tclrrd$(VERSION)$(TCL_SHLIB_SUFFIX)' as
+# Automake doesn't like `tclrrd$(VERSION)$(TCL_SHLIB_SUFFIX)' as
# library name. So we build and install this library `by hand'.
#
# We do, however, specify a lib_LIBRARIES target such that
* used, then it's still possible for the owning interpreter
* to fake out the missing commands:
*
- * # Make all Rrd::* commands available in master interperter
+ * # Make all Rrd::* commands available in master interpreter
* package require Rrd
* set safe [interp create -safe]
- * # Make safe Rrd::* commands available in safe interperter
+ * # Make safe Rrd::* commands available in safe interpreter
* interp invokehidden $safe -global load ./tclrrd1.2.11.so
* # Provide the safe interpreter with the missing commands
* $safe alias Rrd::update do_update $safe
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
as_fn_error $? "
-Your Compiler does not do propper IEEE math ... Please find out how to
+Your Compiler does not do proper IEEE math ... Please find out how to
make IEEE math work with your compiler and let me know (tobi@oetiker.ch).
Check config.log to see what went wrong ...
" "$LINENO" 5
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
fi
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
- # Hide the ALL_LINGUAS assigment from automake < 1.5.
+ # Hide the ALL_LINGUAS assignment from automake < 1.5.
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
else
# The set of available languages was given in configure.in.
- # Hide the ALL_LINGUAS assigment from automake < 1.5.
+ # Hide the ALL_LINGUAS assignment from automake < 1.5.
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
fi
# Compute POFILES
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
fi
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
- # Hide the ALL_LINGUAS assigment from automake < 1.5.
+ # Hide the ALL_LINGUAS assignment from automake < 1.5.
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
else
# The set of available languages was given in configure.in.
- # Hide the ALL_LINGUAS assigment from automake < 1.5.
+ # Hide the ALL_LINGUAS assignment from automake < 1.5.
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
fi
# Compute POFILES
AC_INIT([rrdtool],m4_esyscmd([tr -d '\n' < VERSION]))
AC_CONFIG_AUX_DIR(conftools)
-dnl for testing a numberical version number comes handy
+dnl for testing a numerical version number comes handy
dnl the released version are
dnl a.bccc
dnl the devel versions will be something like
dnl Try to detect/use GNU features
CFLAGS="$CFLAGS -D_GNU_SOURCE"
-dnl check for -Werror separatly
+dnl check for -Werror separately
dnl (quite a few autotool checks do not work with -Werror; also, the
dnl check for -Werror fails after checking and adding the other flags)
AC_CACHE_CHECK([if gcc likes the -Werror flag], rd_cv_gcc_flag__Werror,
;;
gcc)
-## Note that this doesn't just cater to obsosete pre-3.x GCC compilers.
+## Note that this doesn't just cater to obsolete pre-3.x GCC compilers.
## but also to in-use compilers like IMB xlc/xlC and the HP C compiler.
## (see the conditional assignment to $gccflag above).
## There are various ways to get dependency output from gcc. Here's
func_relative_path_result=${func_relative_path_result}/${func_stripname_result}
fi
- # Normalisation. If bindir is libdir, return empty string,
+ # Normalization. If bindir is libdir, return empty string,
# else relative path ending with a slash; either way, target
# file name can be directly appended.
if test ! -z "$func_relative_path_result"; then
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
-/* DATA imports from DLLs on WIN32 con't be const, because runtime
+/* DATA imports from DLLs on WIN32 can't be const, because runtime
relocations are performed -- see ld's documentation on pseudo-relocs. */
# define LT_DLSYM_CONST
#elif defined(__osf__)
=item C<m>
-indicates minutes. The value is multipled by 60.
+indicates minutes. The value is multiplied by 60.
=item C<h>
-indicates hours. The value is multipled by 3600 (or C<60m>).
+indicates hours. The value is multiplied by 3600 (or C<60m>).
=item C<d>
-indicates days. The value is multipled by 86400 (or C<24h>).
+indicates days. The value is multiplied by 86400 (or C<24h>).
=item C<w>
-indicates weeks. The value is multipled by 604800 (or C<7d>).
+indicates weeks. The value is multiplied by 604800 (or C<7d>).
=item C<M>
-indicates months. The value is multipled by 2678400 (or C<31d>).
+indicates months. The value is multiplied by 2678400 (or C<31d>).
(Note this factor accommodates the maximum number of days in a month.)
=item C<y>
-indicates years. The value is multipled by 31622400 (or C<366d>).
+indicates years. The value is multiplied by 31622400 (or C<366d>).
(Note this factor accommodates leap years.)
=back
If the remainder C<token> is empty (no suffix), it is a count and no
scaling is performed.
-If C<token> has one of the suffixes above, the count is multipled to
+If C<token> has one of the suffixes above, the count is multiplied to
convert it to a duration in seconds. The resulting number of seconds
is divided by C<divisor> to produce a count of intervals each of
duration C<divisor> seconds. If division would produce a remainder
Create RRD database of path C<filename>.
The RRD will have a step size of C<pfp_step>, the unix epoch timestamp to
start collecting data from. The number of data sources and RRAs C<argc> and
-the definitions of the data sources and RRAs C<argv>. Lastly weather or
+the definitions of the data sources and RRAs C<argv>. Lastly whether or
not to overwrite an existing RRD if one is found with the same
filename; C<no_overwrite>.
form defined in B<rrdcreate>(1),
The C<sources> parameter defines series of file paths with data defined,
-to prefil the RRD with. See B<rrdcreate>(1) for more dettails.
+to prefill the RRD with. See B<rrdcreate>(1) for more details.
=item B<rrdc_flush(const char *filename)>
=head1 NAME
-rrdflushcached - Flush the values for a spcific RRD file from memory.
+rrdflushcached - Flush the values for a specific RRD file from memory.
=head1 SYNOPSIS
=head2 String Formatting
-The text printed below the actual graph can be formated by appending special
+The text printed below the actual graph can be formatted by appending special
escaped characters at the end of a text. When ever such a character occurs,
all pending text is pushed onto the graph according to the character
specified.
Valid markers are: B<\j> for justified, B<\l> for left aligned, B<\r> for
right aligned and B<\c> for centered. In the next section there is an
-example showing how to use centered formating.
+example showing how to use centered formatting.
Normally there are two space characters inserted between every two items
printed into the graph. The space following a string can be suppressed by
[B<--left-axis-formatter> I<formatter-name>]
-Specify what formater to use to render axis values.
+Specify what formatter to use to render axis values.
=over
[B<--right-axis-formatter> I<formatter-name>]
-Specify what formater to use to render axis values.
+Specify what formatter to use to render axis values.
=over
to avoid querying the same SQL several times when minimum, average and maximum are needed for graphing...
* for DB efficiency you should think of having 2 tables, one containing historic values and the other containing the latest data.
- This second table should be kept small to allow for the least ammount of blocking SQL statements.
- Whith mysql you can even use myisam table-type for the first and InnoDB for the second.
- This is especially interresting as with tables with +100M rows myisam is much smaller then InnoDB.
+ This second table should be kept small to allow for the least amount of blocking SQL statements.
+ With mysql you can even use myisam table-type for the first and InnoDB for the second.
+ This is especially interesting as with tables with +100M rows myisam is much smaller then InnoDB.
* To debug the SQL statements set the environment variable RRDDEBUGSQL and the actual SQL statements and the timing is printed to stderr.
* at least version 0.8.1 of libdbi exhibits a bug with BINARY fields
(shorttext,text,mediumtext,longtext and possibly also BINARY and BLOB fields),
that can result in coredumps of rrdtool.
- The tool will tell you on stderr if this occures, so that you know what may be the reason.
+ The tool will tell you on stderr if this occurs, so that you know what may be the reason.
If you are not experiencing these coredumps, then set the environment variable RRD_NO_LIBDBI_BUG_WARNING,
and then the message will not get shown.
B<NEWDAY>,B<NEWWEEK>,B<NEWMONTH>,B<NEWYEAR>
-These three operators will return 1.0 whenever a step is the first of the given periode. The periodes are determined
+These three operators will return 1.0 whenever a step is the first of the given period. The periods are determined
according to the local timezone AND the C<LC_TIME> settings.
CDEF:mtotal=rate,STEPWIDTH,*,NEWMONTH,0,PREV,IF,ADDNAN
In order to support the restore command in pipe mode (especially when
using B<RRDtool> over a network connection), when using "-" as a filename
-the end of the file can be signalled either by closing the data
+the end of the file can be signaled either by closing the data
channel after the file has transferred (as would be the case when
using input redirection within a suitable shell) or by sending a
crtl-Z / newline combination. This allows one to send more commands to the
<!-- Start of complexTypes -->
<xsd:complexType name="RrdType">
<xsd:sequence>
- <!-- RRD file version/RRD Archiv version number-->
+ <!-- RRD file version/RRD Archive version number-->
<xsd:element name="version" type="xsd:nonNegativeInteger"/>
- <!-- The primary RRD Archiv step in seconds.-->
+ <!-- The primary RRD Archive step in seconds.-->
<xsd:element name="step" type="xsd:nonNegativeInteger"/>
<!-- The unixtime from the last rrd_update.-->
<xsd:element name="lastupdate" type="xsd:nonNegativeInteger"/>
operations (that is: the resulting file should always be a valid RRD file,
regardless of concurrent updates through the caching daemon).
Regarding data consistency such guarantees are not made: Without external
-synchronisation concurrent updates may be lost.
+synchronization concurrent updates may be lost.
For a list of accepted formats, see the B<-l> option in the L<rrdcached> manual.
I fixed the speed4.png example (and added a note). There may be other
examples which suffer from the same or a similar bug. Try to fix it
-yourself, which is a great excercise. But please do not submit your
+yourself, which is a great exercise. But please do not submit your
result as a fix to the source of this document. Discuss it on the
user's list, or write to me.
We will now create a database where we can keep all these interesting
numbers. The method used to start the program may differ slightly from
OS to OS, but I assume you can figure it out if it works different on
-your's. Make sure you do not overwrite any file on your system when
+yours. Make sure you do not overwrite any file on your system when
executing the following command and type the whole line as one long
line (I had to split it for readability)
and skip all of the '\' characters.
=item B<--skip-past-updates>|B<-s>
-When updateing an rrd file with data earlier than the latest update already
+When updating an rrd file with data earlier than the latest update already
applied, rrdtool will issue an error message an abort. This option instructs
rrdtool to silently skip such data. It can be useful when re-playing old
data into an rrd file and you are not sure how many updates have already
=item B<--json>
-produce json formated output (instead of xml)
+produce json formatted output (instead of xml)
=item B<--enumds>
# Created By Tobi Oetiker <tobi@oetiker.ch>
# Date 2006-10-27
#
-#makes programm work AFTER install
+#makes program work AFTER install
my $Chunk = shift @ARGV || 10000;
RRA is being updated. So if several RRAs are being updated,
you should see a slowdown as data has to be read from disk.
-The growning number in the second column shows how many RRD have been
+The growing number in the second column shows how many RRD have been
updated ... If everything is in cache, the number will Jump to $Chunk almost
immediately. Then the system will seem to hang as 'sync' runs, to make sure
all data has been written to disk prior to the next perftest run. This may
use RRDp;
-# this simpulates a standard mrtg-2.x setup ... we can use this to
+# this simulates a standard mrtg-2.x setup ... we can use this to
# compare performance ...
$main::DEBUG=0;
print "ok $ok_count $what\n";
}
-#makes programm work AFTER install
+#makes program work AFTER install
use lib qw( @prefix@/lib/perl );
use strict;
dnl Helper Functions for the RRDtool configure.ac script
dnl
-dnl this file gets included into aclocal.m4 when runnning aclocal
+dnl this file gets included into aclocal.m4 when running aclocal
dnl
dnl
dnl
dnl Check for the presence of a particular library and its header files
dnl if this check fails set the environment variable EX_CHECK_ALL_ERR to YES
-dnl and prints out a helful message
+dnl and prints out a helpful message
dnl
dnl
dnl EX_CHECK_ALL(library, function, header, pkgconf name, tested-version, homepage, cppflags)
}]])],[rd_cv_ieee_$2=yes],[rd_cv_ieee_$2=no],[$as_echo_n "(skipped ... cross-compiling) " >&6
# Bypass further checks
rd_cv_ieee_works=yes])])
-dnl these we run regardles is cached or not
+dnl these we run regardless is cached or not
if test x${rd_cv_ieee_$2} = "xyes"; then
AC_MSG_RESULT(yes)
$5
[AC_DEFINE(MUST_DISABLE_SIGFPE)
PERLFLAGS="CCFLAGS=-DMUST_DISABLE_SIGFPE"],
AC_MSG_ERROR([
-Your Compiler does not do propper IEEE math ... Please find out how to
+Your Compiler does not do proper IEEE math ... Please find out how to
make IEEE math work with your compiler and let me know (tobi@oetiker.ch).
Check config.log to see what went wrong ...
]))])])])])])])])])])
dnl http://mail.gnu.org/pipermail/autoconf/1999-October/008311.html
dnl partly rewritten by Peter Stamfest <peter@stamfest.at>
-dnl This determines, if struct tm containes tm_gmtoff field
+dnl This determines, if struct tm contains tm_gmtoff field
dnl or we should use extern long int timezone.
dnl Add the following to your acconfig.h:
# understood.
# - Strings which make invalid assumptions about notation of date, time or
# money.
-# - Pluralisation problems.
+# - Pluralization problems.
# - Incorrect English spelling.
# - Incorrect formatting.
# It can be your email address, or a mailing list address where translators
# http://partners.adobe.com/asn/developer/type/glyphlist.txt
# This URL is from this page:
# http://partners.adobe.com/asn/developer/type/unicodegn.html
-# which is refered from
+# which is referred from
# http://partners.adobe.com/asn/developer/technotes/fonts.html
my $onlyHelvetica = 0;
* 32 bit FNV-0 zero initial basis
*
* This historic hash is not recommended. One should use
- * the FNV-1 hash and inital basis instead.
+ * the FNV-1 hash and initial basis instead.
*/
#define FNV0_32_INIT ((Fnv32_t)0)
"./.." "." ".."
These results can be verified by running the unix commands
- basename(1) and dirname(1). One tweek to the test strategy
+ basename(1) and dirname(1). One tweak to the test strategy
used here would be, on darwin and linux, to shell out to
get the expected results vs hardcoding.
*/
return varheap[i].value;
}
-/* expand those RRD:* directives that can be used recursivly */
+/* expand those RRD:* directives that can be used recursively */
static char *rrd_expand_vars(
char *buffer)
{
#endif
- /* expand rrd directives in buffer recursivly */
+ /* expand rrd directives in buffer recursivley */
for (i = 0; buffer[i]; i++) {
if (buffer[i] != '<')
continue;
return buffer;
}
} else {
- return stralloc("[ERROR: No Inclue file defined]");
+ return stralloc("[ERROR: No Include file defined]");
}
}
return stralloc("[ERROR: not enough arguments for RRD::TIME::NOW]");
}
-/* Scan buffer until an unescaped '>' arives.
+/* Scan buffer until an unescaped '>' arrives.
* Update argument array with arguments found.
* Return end cursor where parsing stopped, or NULL in case of failure.
*
result[i]->name, result[i]->value);
}
i++;
- } else { /* There is already such a name, suppose a mutiple field */
+ } else { /* There is already such a name, suppose a multiple field */
cp = ++esp;
len = strlen(result[k]->value) + (ip - esp) + 2;
if ((sptr = (char *) calloc(len, sizeof(char))) == NULL)
status = WSAStartup(wVersionRequested, &wsaData);
if (status != 0)
{
- rrd_set_error("failed to initialise socket library %d", status);
+ rrd_set_error("failed to initialize socket library %d", status);
return (-1);
}
#endif
static void journal_done(void);
static void journal_rotate(void);
-/* prototypes for forward refernces */
+/* prototypes for forward references */
static int handle_request_help (HANDLER_PROTO);
static int handle_request_ping (HANDLER_PROTO);
if (status)
{
- RRDD_LOG(LOG_ERR, "%s\nerrno: %d", "Signal set could not be initialised.", errno);
+ RRDD_LOG(LOG_ERR, "%s\nerrno: %d", "Signal set could not be initialized.", errno);
abort();
}
/* now parse the extra names */
while ( buffer_get_field (&buffer, &buffer_size, &field) == 0 ) {
- /* check boundries */
+ /* check boundaries */
if (parsed->field_cnt >= parsed->ds_cnt) {
free_fetch_parsed(parsed);
send_response(sock, RESP_ERR,
}
/* We currently use the index in the `list_of_commands' array as a bit position
- * in `listen_socket_t.permissions'. This member schould NEVER be accessed from
+ * in `listen_socket_t.permissions'. This member should NEVER be accessed from
* outside these functions so that switching to a more elegant storage method
* is easily possible. */
static ssize_t find_command_index (const char *cmd) /* {{{ */
RRDD_LOG (LOG_ERR, "listen_thread_main: strdup failed.");
continue;
}
- } // else, the socket is comming from systemd
+ } // else, the socket is coming from systemd
client_sa_size = sizeof (client_sa);
client_sock->fd = accept (pollfds[i].fd,
* rrd_datalang A system for passing named and typed parameters between
* the different parts of rrdtool
*
- * In rrdtool thre are a number of places where large and complex
+ * In rrdtool there are a number of places where large and complex
* data structures have to be passed from one function to another
* eg when rrd_info returns its findings, but also when a function like
* rrd_graph get called.
* Data returns from functions is not standardized at all, which is
* efficient in the sense that the data return interface can be tailord to
* the specific needs of the function at hand, but it also leads to
- * increassed probability for implementation errors as things have to be
+ * increased probability for implementation errors as things have to be
* reinvented for each function. Also adding new functions into all the
- * language bindings is quite cumbersom.
+ * language bindings is quite cumbersome.
*
* Therefore I want to develop a standardized interface for passing named
* and typed data into functions and for returning data from functions to
* their callers. I am thinking about working of the code in rrd_info.c ...
*
- * Does anyone have experiance in this field or any pointers to read up on
+ * Does anyone have experience in this field or any pointers to read up on
* related work ? Or maybe even an existing library for this ?
*
* Cheers
rrd_value_t value;
struct tm tm;
-//These two macros are local defines to clean up visible code from its redndancy
+//These two macros are local defines to clean up visible code from its redundancy
//and make it easier to read.
#define CB_PUTS(str) \
do { \
/* and return the pointer past the current one*/
return (found+2);
}
- /* find next occurance */
+ /* find next occurence */
found=strchr(found+1,separator);
}
/* not found, so return NULL */
src++;
if (c == '%') {
if (*src == '%') {
- /* increase src pointer by 1 skiping second % */
+ /* increase src pointer by 1 skipping second % */
src+=1;
} else {
/* try to calculate hex value from the next 2 values*/
return(1);
}
c=h2+(h1<<4);
- /* increase src pointer by 2 skiping 2 chars */
+ /* increase src pointer by 2 skipping 2 chars */
src+=2;
}
}
}
}
}
- /* and check for negativ status, pass back immediately */
+ /* and check for negative status, pass back immediately */
if (r_status==-1) { return -1; }
/* post processing */
* The RRD Database Structure
* ---------------------------
*
- * In oder to properly describe the database structure lets define a few
+ * In order to properly describe the database structure lets define a few
* new words:
*
* ds - Data Source (ds) providing input to the database. A Data Source (ds)
* DS updates may only occur at ever increasing points in time
* When any DS update arrives after a cdp update time, the *previous*
- update cycle gets executed. All pdps are transfered to cdps and the
+ update cycle gets executed. All pdps are transferred to cdps and the
cdps feed the rras where necessary. Only then the new DS value
is loaded into the PDP. */
* prediction algorithm. */
CDP_hw_last_intercept,
/* Last iteration intercept coefficient for the Holt-Winters
- * prediction algorihtm. */
+ * prediction algorithm. */
CDP_hw_slope,
/* Current slope coefficient for the Holt-Winters
* prediction algorithm. */
/* #define DEBUG */
-/* stupid MSVC doesnt support variadic macros = no debug for now! */
+/* stupid MSVC doesn't support variadic macros = no debug for now! */
#ifdef _MSC_VER
# define RRDPRINTF()
#else
im->gdes[i].data_first = 1;
/* must reduce to at least im->step
- otherwhise we end up with more data than we can handle in the
+ otherwise we end up with more data than we can handle in the
chart and visibility of data will be random */
im->gdes[i].step = max(im->gdes[i].step,im->step);
if (ft_step < im->gdes[i].step) {
/* Find the variables in the expression.
* - VDEF variables are substituted by their values
* and the opcode is changed into OP_NUMBER.
- * - CDEF variables are analized for their step size,
+ * - CDEF variables are analyzed for their step size,
* the lowest common denominator of all the step
* sizes of the data sources involved is calculated
* and the resulting number is the step size for the
}
leg_cc = strlen(im->gdes[i].legend);
- /* is there a controle code at the end of the legend string ? */
+ /* is there a control code at the end of the legend string ? */
if (leg_cc >= 2 && im->gdes[i].legend[leg_cc - 2] == '\\') {
prt_fctn = im->gdes[i].legend[leg_cc - 1];
leg_cc -= 2;
prt_fctn = '\0';
}
- /* remove exess space from the end of the legend for \g */
+ /* remove excess space from the end of the legend for \g */
while (prt_fctn == 'g' &&
leg_cc > 0 && im->gdes[i].legend[leg_cc - 1] == ' ') {
leg_cc--;
return 0;
}
- /* find grid spaceing */
+ /* find grid spacing */
pixel = 1;
if (isnan(im->ygridstep)) {
if (im->extra_flags & ALTYGRID) {
}
-/* logaritmic horizontal grid */
+/* logarithmic horizontal grid */
int horizontal_log_grid(
image_desc_t
*im)
/* minor grid */
if (mid < 4 && exfrac == 1) {
/* find first and last minor line behind current major line
- * i is the first line and j tha last */
+ * i is the first line and j the last */
if (flab == 0) {
min_exp = val_exp - 1;
for (i = 1; yloglab[mid][i] < 10.0; i++);
/* draw minor lines after highest major line */
if (mid < 4 && exfrac == 1) {
/* find first and last minor line below current major line
- * i is the first line and j tha last */
+ * i is the first line and j the last */
if (flab == 0) {
min_exp = val_exp - 1;
for (i = 1; yloglab[mid][i] < 10.0; i++);
im->yorigin - im->ysize -
4, MGRIDWIDTH, im->graph_col[GRC_AXIS]);
/* arrow for X and Y axis direction */
- gfx_new_area(im, im->xorigin + im->xsize + 2, im->yorigin - 3, im->xorigin + im->xsize + 2, im->yorigin + 3, im->xorigin + im->xsize + 7, im->yorigin, /* horyzontal */
+ gfx_new_area(im, im->xorigin + im->xsize + 2, im->yorigin - 3, im->xorigin + im->xsize + 2, im->yorigin + 3, im->xorigin + im->xsize + 7, im->yorigin, /* horizontal */
im->graph_col[GRC_ARROW]);
gfx_close_path(im);
gfx_new_area(im, im->xorigin - 3, im->yorigin - im->ysize - 2, im->xorigin + 3, im->yorigin - im->ysize - 2, im->xorigin, im->yorigin - im->ysize - 7, /* vertical */
/* In case of putting the legend in west or east position the first
** legend calculation might lead to wrong positions if some items
** are not aligned on the left hand side (e.g. centered) as the
- ** legendwidth wight have been increased after the item was placed.
+ ** legendwidth might have been increased after the item was placed.
** In this case the positions have to be recalculated.
*/
if (!(im->extra_flags & NOLEGEND)) {
int graph_paint_xy(
image_desc_t UNUSED(*im), int UNUSED(lazy), int UNUSED(cnt))
{
- rrd_set_error("XY diagramm not implemented");
+ rrd_set_error("XY diagram not implemented");
return -1;
}
}
break;
case 'B':
- /* not supported curently */
+ /* not supported currently */
break;
case 'W':
im->watermark=strdup(poptions->optarg);
POSIX:2001 tells
"A conversion specification consists of a '%' character, possibly followed by an E or O modifier, and a terminating conversion specifier character that determines the conversion specification's behavior."
- POSIX:2008 introduce more complexe behavior that are not handled here.
+ POSIX:2008 introduce more complex behavior that are not handled here.
According to this, this code will replace:
- % followed by @ by a %@
double gradheight;
char format[FMT_LEG_LEN + 5]; /* format for PRINT AND GPRINT */
char legend[FMT_LEG_LEN + 5]; /* legend */
- int strftm; /* should the VDEF legend be the time component formated with strftime */
+ int strftm; /* should the VDEF legend be the time component formatted with strftime */
enum value_formatter_en vformatter; /* what value formatter to use (if !strftm) */
double leg_x, leg_y; /* location of legend */
double yrule; /* value for y rule line and for VDEF */
time_t shift; /* current shift applied */
/* description of data fetched for the graph element */
- time_t start, end; /* timestaps for first and last data element */
- time_t start_orig, end_orig; /* timestaps for first and last data element */
+ time_t start, end; /* timestamps for first and last data element */
+ time_t start_orig, end_orig; /* timestamps for first and last data element */
unsigned long step; /* time between samples */
unsigned long step_orig; /* time between samples */
unsigned long ds_cnt; /* how many data sources are there in the fetch */
long data_first; /* first pointer to this data */
char **ds_namv; /* name of datasources in the fetch. */
rrd_value_t *data; /* the raw data drawn from the rrd */
- rrd_value_t *p_data; /* processed data, xsize elments */
- double linewidth; /* linewideth */
+ rrd_value_t *p_data; /* processed data, xsize elements */
+ double linewidth; /* linewidth */
/* dashed line stuff */
int dash; /* boolean, draw dashed line? */
char *xlab_form; /* format for the label on the xaxis */
double second_axis_scale; /* relative to the first axis (0 to disable) */
double second_axis_shift; /* how much is it shifted vs the first axis */
- char *second_axis_legend; /* label to put on the seond axis */
+ char *second_axis_legend; /* label to put on the second axis */
char *second_axis_format; /* format for the numbers on the scond axis */
enum value_formatter_en second_axis_formatter; /* How to format axis values */
char *primary_axis_format; /* format for the numbers on the primary axis */
enum gfx_if_en imgformat; /* image format */
char *daemon_addr; /* rrdcached connection string */
int lazy; /* only update the image if there is
- reasonable probablility that the
+ reasonable probability that the
existing one is out of date */
int slopemode; /* connect the dots of the curve directly, not using a stair */
enum legend_pos legendposition; /* the position of the legend: north, west, south or east */
}
char* getKeyValueArgument(const char* key,int flag, parsedargs_t* pa) {
- /* we count backwords for "overwrites" */
+ /* we count backwards for "overwrites" */
for(int i=pa->kv_cnt-1;i>=0;i--) {
char* akey=(pa->kv_args[i]).key;
if (strcmp(akey,key)==0) {
/* NOTE that this may be a bit different from the original parser */
*extra=NULL;
- /* see rrd_strtodbl's return values for more infromation */
+ /* see rrd_strtodbl's return values for more information */
switch (rrd_strtodbl( v, extra, val, NULL)){
case 0:
return -1;
/* here we parse pos arguments locally */
/* vname */
if (gdp->vname[0]==0) {
- dprintfparsed("Processing postitional vname\n");
+ dprintfparsed("Processing positional vname\n");
keyvalue_t* first=getFirstUnusedArgument(1,pa);
if (first) {
strncpy(gdp->vname,first->keyvalue,MAX_VNAME_LEN + 1);
enum gf_en vnamegf=im->gdes[gdp->vidx].gf;
dprintfparsed("Processing referenced type %i\n",vnamegf);
switch (vnamegf) {
- /* depreciated */
+ /* deprecated */
case GF_DEF:
case GF_CDEF:
- dprintfparsed("Processing postitional CF\n");
+ dprintfparsed("Processing positional CF\n");
/* look for CF if not given */
if (((int)gdp->cf)==-1) {
keyvalue_t* first=getFirstUnusedArgument(1,pa);
}
/* and get positional format */
if (gdp->format[0]==0) {
- dprintfparsed("Processing postitional format\n");
+ dprintfparsed("Processing positional format\n");
keyvalue_t* first=getFirstUnusedArgument(1,pa);
if (first) {
strncpy(gdp->format,first->keyvalue,FMT_LEG_LEN);
} else if (strcmp(align, "center") == 0) {
gdp->txtalign = TXA_CENTER;
} else {
- rrd_set_error("Unknown alignement type '%s'", align);
+ rrd_set_error("Unknown alignment type '%s'", align);
return 1;
}
/* associated HWPREDICT has already been updated */
if (isnan(coefs[CDP_hw_last_intercept].u_val) ||
isnan(coefs[CDP_hw_last_slope].u_val) || isnan(seasonal_coef)) {
- /* one of the prediction values is uinitialized */
+ /* one of the prediction values is unitialized */
rrd->cdp_prep[cdp_idx].scratch[CDP_scratch_idx].u_val = DNAN;
return 0;
} else {
/* associated HWPREDICT has NOT been updated */
if (isnan(coefs[CDP_hw_intercept].u_val) ||
isnan(coefs[CDP_hw_slope].u_val) || isnan(seasonal_coef)) {
- /* one of the prediction values is uinitialized */
+ /* one of the prediction values is unitialized */
rrd->cdp_prep[cdp_idx].scratch[CDP_scratch_idx].u_val = DNAN;
return 0;
} else {
}
-/* add datasources as specified in the addDS array of DS specs as deocumented
+/* add datasources as specified in the addDS array of DS specs as documented
in rrdcreate(1)
Returns the number of DSs added or -1 on error
/* note: cand_row_end is usually after cand_row_start,
unless we have a wrap over.... so we turn the
- interation over the rows into one based on the number
+ iteration over the rows into one based on the number
of rows starting at cand_row_end. All this dance should
be in preparation for unusual cases where we have
candidates and new RRAs that have pdp counts that are
This is the reason why:
- we use write_file and
- - why we reset cur_row in RRAs and reorder data to be cronological
+ - why we reset cur_row in RRAs and reorder data to be chronological
*/
/* prepare space for output data */
#define DEBUG 1
/* do not calculate exact madvise hints but assume 1 page for headers and
* set DONTNEED for the rest, which is assumed to be data */
-/* Avoid calling madvise on areas that were already hinted. May be benefical if
+/* Avoid calling madvise on areas that were already hinted. May be beneficial if
* your syscalls are very slow */
#ifdef HAVE_MMAP
* positioned to the first cdp in the first rra.
* In the error path of rrd_open, only rrd_free(&rrd) has to be called
* before returning an error. Do not call rrd_close upon failure of rrd_open.
- * If creating a new file, the parameter rrd must be initialised with
+ * If creating a new file, the parameter rrd must be initialized with
* details of the file content.
- * If opening an existing file, then use rrd must be initialised by
+ * If opening an existing file, then use rrd must be initialized by
* rrd_init(rrd) prior to invoking rrd_open
*/
#if !defined(HAVE_MMAP) && defined(HAVE_POSIX_FADVISE)
/* In general we need no read-ahead when dealing with rrd_files.
When we stop reading, it is highly unlikely that we start up again.
- In this manner we actually save time and diskaccess (and buffer cache).
+ In this manner we actually save time and disk access (and buffer cache).
Thanks to Dave Plonka for the Idea of using POSIX_FADV_RANDOM here. */
posix_fadvise(rrd_simple_file->fd, 0, 0, POSIX_FADV_RANDOM);
#endif
#ifdef HAVE_MMAP
#ifndef HAVE_POSIX_FALLOCATE
- /* force allocating the file on the underlaying filesystem to prevent any
+ /* force allocating the file on the underlying filesystem to prevent any
* future bus error when the filesystem is full and attempting to write
* trough the file mapping. Filling the file using memset on the file
* mapping can also lead some bus error, so we use the old fashioned
return 0; /* EOF */
buf = memcpy(buf, rrd_simple_file->file_start + rrd_file->pos, _cnt);
- rrd_file->pos += _cnt; /* mimmic read() semantics */
+ rrd_file->pos += _cnt; /* mimic read() semantics */
return _cnt;
#else
ssize_t ret;
ret = read(rrd_simple_file->fd, buf, count);
if (ret > 0)
- rrd_file->pos += ret; /* mimmic read() semantics */
+ rrd_file->pos += ret; /* mimic read() semantics */
return ret;
#endif
}
/* can't use memcpy since the areas overlap when tuning */
memmove(rrd_simple_file->file_start + rrd_file->pos, buf, count);
rrd_file->pos += count;
- return count; /* mimmic write() semantics */
+ return count; /* mimic write() semantics */
#else
ssize_t _sz = write(rrd_simple_file->fd, buf, count);
}
rrd_init(&rrdnew);
- /* These need to be initialised before calling rrd_open() with
+ /* These need to be initialized before calling rrd_open() with
the RRD_CREATE flag */
if ((rrdnew.stat_head = (stat_head_t*)calloc(1, sizeof(stat_head_t))) == NULL) {
}
/* trying to read text from <a></a> we end up here
- lets return an empty string insead. This is a tad optimistic
+ lets return an empty string instead. This is a tad optimistic
since we do not check if it is actually </a> and not </b>
we got, but first we do not know if we expect </a> and second
we the whole implementation is on the optimistic side. */
return (NULL);
}
- /* NOTE: from now on, sctx will get free'd implicitly through
+ /* NOTE: from now on, sctx will get freed implicitly through
* xmlFreeTextReader and its call to
* stdioXmlInputCloseCallback. */
} else {
/* make sure we pull the correct value from
* the *.data array. Adjust the pointer into
- * the array acordingly. Advance the ptr one
+ * the array accordingly. Advance the ptr one
* row in the rra (skip over non-relevant
* data sources)
*/
* C99 says: "If the `0' and `-' flags both appear, the `0' flag is
* ignored." (7.19.6.1, 6)
*/
- if (flags & PRINT_F_MINUS) /* Left justifty. */
+ if (flags & PRINT_F_MINUS) /* Left justify. */
padlen = -padlen;
else if (flags & PRINT_F_ZERO && padlen > 0) {
if (sign != 0) { /* Sign. */
/* Key for the thread-specific rrd_context */
static pthread_key_t context_key;
-/* Once-only initialisation of the key */
+/* Once-only initialization of the key */
static pthread_once_t context_key_once = PTHREAD_ONCE_INIT;
/* Free the thread-specific rrd_context - we might actually use
static CRITICAL_SECTION CriticalSection;
-/* Once-only initialisation of the key */
+/* Once-only initialization of the key */
static DWORD context_key_once = 0;
* RRD files created and smoothed with the old code.
* (4) Adds the aberrant-reset flag to rrd tune. This operation, which is
* specified for a single data source, causes the holt-winters algorithm to
- * forget everthing it has learned and start over.
+ * forget everything it has learned and start over.
* (5) Fixes a few out-of-date code comments.
*
* Revision 1.3 2001/03/07 21:21:54 oetiker
- * complete rewrite of rrdgraph documentation. This also includs info
+ * complete rewrite of rrdgraph documentation. This also includes info
* on upcomming/planned changes to the rrdgraph interface and functionality
* -- Alex van den Bogaerdt <alex@slot.hollandcasino.nl>
*
/* the file-template-cache implementation */
static GTree *rrd_file_template_cache = NULL;
-/* the neccesary functions for the gtree */
+/* the necessary functions for the gtree */
static gint cache_compare_names (gconstpointer name1,
gconstpointer name2,
gpointer data)
ptr++;
}
- /* check that we do not have a missmatch */
+ /* check that we do not have a mismatch */
if (fields_count != fields_tpl) {
/* we could here more explicit,
* by checking the missing fields
}
/* if too much of the pdp_prep is unknown we dump it */
- /* if the interval is larger thatn mrhb we get NAN */
+ /* if the interval is larger than mrhb we get NAN */
if ((interval > mrhb) ||
(rrd->stat_head->pdp_step / 2.0 <
(signed) scratch[PDP_unkn_sec_cnt].u_cnt)) {
/* make pdp_prep ready for the next run */
if (isnan(pdp_new[ds_idx])) {
- /* this is not realy accurate if we use subsecond data arival time
+ /* this is not really accurate if we use subsecond data arrival time
should have thought of it when going subsecond resolution ...
sorry next format change we will have it! */
scratch[PDP_unkn_sec_cnt].u_cnt = floor(post_int);
/* If this is a bulk update, we need to skip ahead in the seasonal arrays
* so that they will be correct for the next observed value; note that for
* the bulk update itself, no update will occur to DEVSEASONAL or SEASONAL;
- * futhermore, HWPREDICT and DEVPREDICT will be set to DNAN. */
+ * furthermore, HWPREDICT and DEVPREDICT will be set to DNAN. */
if (rra_step_cnt[rra_idx] > 1) {
skip_update[rra_idx] = 1;
lookup_seasonal(rrd, rra_idx, rra_start, rrd_file,
}
if (rrd_test_error())
return -1;
- /* loop over data soures within each RRA */
+ /* loop over data sources within each RRA */
for (ds_idx = 0; ds_idx < rrd->stat_head->ds_cnt; ds_idx++) {
update_aberrant_CF(rrd, pdp_temp[ds_idx], current_cf,
rra_idx * (rrd->stat_head->ds_cnt) +
}
#ifndef _MSC_VER
- /* the data pointedd too by dirname might change too (bsd) */
+ /* the data pointed to by dirname might change too (bsd) */
if (NULL == (base_dir = strdup(dirname(pathname_copy)))) {
free(pathname);
free(pathname_copy);
free(legend_v);
/* free data */
free(data);
- /* free the bufer */
+ /* free the buffer */
if (buffer.data) {free(buffer.data);}
/* close the file */
if (buffer.file) {fclose(buffer.file);}
}
int addToBuffer(stringbuffer_t * sb,char* data,size_t len) {
- /* if len <= 0 we assume a string and calculate the length ourself */
+ /* if len <= 0 we assume a string and calculate the length ourselves */
if (len<=0) { len=strlen(data); }
/* if we have got a file, then take the shortcut */
if (sb->file) {
/* PRINT and GPRINT can now print VDEF generated values.
* There's no need to do any calculations on them as these
* calculations were already made.
- * we do not support the depreciated version here
+ * we do not support the deprecated version here
*/
printval=DNAN;
/* decide to which buffer we print to*/
/* define a macro to wrap variables that would
otherwise generate UNUSED variable warnings
- Note that GCC's attribute unused only supresses the warning, so
+ Note that GCC's attribute unused only suppresses the warning, so
it is perfectly safe to declare something unused although it is not.
*/
/*
* The size of `time_t', as computed by sizeof.
- * VS2005 and later dafault size for time_t is 64-bit, unless
+ * VS2005 and later default size for time_t is 64-bit, unless
* _USE_32BIT_TIME_T has been defined to use a 32-bit time_t.
*/
#if defined(_MSC_VER) && (_MSC_VER >= 1400)