]> git.itanic.dy.fi Git - rrdd/log
rrdd
13 years agoAdd support for creating rrd databases in case the file is missing
Timo Kokkonen [Sun, 6 Mar 2011 17:05:24 +0000 (19:05 +0200)]
Add support for creating rrd databases in case the file is missing

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
13 years agorrdtool: Improve argument list modification macro
Timo Kokkonen [Mon, 7 Mar 2011 08:24:08 +0000 (10:24 +0200)]
rrdtool: Improve argument list modification macro

The name of the macro was not very descriptive, "add_arg" describes
the functionality much better.

Instead of modifying some magic function variables, give the variables
as parameters to the macro. This makes it much more clear how the
thing actually works.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
13 years agorrdtool: Replace repeating strings with a definition
Timo Kokkonen [Mon, 7 Mar 2011 08:20:15 +0000 (10:20 +0200)]
rrdtool: Replace repeating strings with a definition

The command path should be in a defintion, in case one wants to change
it.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
13 years agoMove rrd_database structure under rrdtool.h
Timo Kokkonen [Sun, 6 Mar 2011 16:48:13 +0000 (18:48 +0200)]
Move rrd_database structure under rrdtool.h

Keep all rrdtool related structure definitions under this one header
file.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
13 years agoCollect all rrdtool handling in one file
Timo Kokkonen [Sun, 6 Mar 2011 16:31:00 +0000 (18:31 +0200)]
Collect all rrdtool handling in one file

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
13 years agodatabase.h.example: Avoid pathname repeatitions
Timo Kokkonen [Sun, 6 Mar 2011 13:13:43 +0000 (15:13 +0200)]
database.h.example: Avoid pathname repeatitions

This way it is much easier to modify the default paths.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
13 years agoRename testadata.h to database.h
Timo Kokkonen [Sun, 6 Mar 2011 12:54:54 +0000 (14:54 +0200)]
Rename testadata.h to database.h

This is probably a more descriptive name.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
13 years agoMakefile: Fixes
Timo Kokkonen [Sun, 6 Mar 2011 10:19:43 +0000 (12:19 +0200)]
Makefile: Fixes

Proper dependency checking. Improved pretty printing.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agoOrthogonalize CPU graph colors
Timo Kokkonen [Thu, 8 Oct 2009 19:41:35 +0000 (22:41 +0300)]
Orthogonalize CPU graph colors

Otherwise IO and USER load might get mixed up

14 years agoChange default memory graph colors
Timo Kokkonen [Thu, 8 Oct 2009 17:11:20 +0000 (20:11 +0300)]
Change default memory graph colors

Swap is better to be in red, as red is "bad". Thus, buffers and swap
colors are now reversed.

14 years agoUse long long instead of ints when parsing cpu tics
Timo Kokkonen [Thu, 1 Oct 2009 11:15:10 +0000 (14:15 +0300)]
Use long long instead of ints when parsing cpu tics

This fixes a problem with overwrapping counters on 32bit architectures.

14 years agoUpdate testdata.h.example to support swap
Timo Kokkonen [Sun, 20 Sep 2009 16:53:45 +0000 (19:53 +0300)]
Update testdata.h.example to support swap

14 years agoAdd support for reading swap usage from meminfo
Timo Kokkonen [Thu, 17 Sep 2009 19:27:02 +0000 (22:27 +0300)]
Add support for reading swap usage from meminfo

15 years agoPrint which command is to be executed
Timo Kokkonen [Wed, 21 May 2008 17:39:44 +0000 (20:39 +0300)]
Print which command is to be executed

15 years agoChange debug message output
Timo Kokkonen [Wed, 21 May 2008 17:18:46 +0000 (20:18 +0300)]
Change debug message output

15 years agoRename get_process_count() to get_sibling_count()
Timo Kokkonen [Wed, 21 May 2008 17:15:41 +0000 (20:15 +0300)]
Rename get_process_count() to get_sibling_count()

15 years agoUse pointers properly
Timo Kokkonen [Wed, 21 May 2008 17:12:43 +0000 (20:12 +0300)]
Use pointers properly

15 years agoAdd primitive error detection to digitemp parser
Timo Kokkonen [Wed, 21 May 2008 17:11:07 +0000 (20:11 +0300)]
Add primitive error detection to digitemp parser

15 years agoFix debug message indenting bug
Timo Kokkonen [Wed, 21 May 2008 16:51:14 +0000 (19:51 +0300)]
Fix debug message indenting bug

15 years agoCount number of sibling processes
Timo Kokkonen [Wed, 21 May 2008 16:49:48 +0000 (19:49 +0300)]
Count number of sibling processes

15 years agoOpen read streams for reading
Timo Kokkonen [Wed, 21 May 2008 16:28:18 +0000 (19:28 +0300)]
Open read streams for reading

15 years agoPrettify printing of pid numbers on debug messages
Timo Kokkonen [Wed, 21 May 2008 15:15:05 +0000 (18:15 +0300)]
Prettify printing of pid numbers on debug messages

15 years ago.gitignore update
Timo Kokkonen [Sun, 18 May 2008 17:30:27 +0000 (20:30 +0300)]
.gitignore update

15 years agoAdd missing newline
Timo Kokkonen [Sun, 18 May 2008 17:14:21 +0000 (20:14 +0300)]
Add missing newline

15 years agoAdd .gitignore
Timo Kokkonen [Sun, 18 May 2008 17:09:25 +0000 (20:09 +0300)]
Add .gitignore

15 years agoImprove piped process executing
Timo Kokkonen [Sun, 18 May 2008 17:07:18 +0000 (20:07 +0300)]
Improve piped process executing

Allow all standard streams to be piped back to the parent
process. Modifies also the run() function to print the pid of the
process which printed the output.

15 years agoAutoindent debug messages according to parent count
Timo Kokkonen [Sun, 18 May 2008 17:04:47 +0000 (20:04 +0300)]
Autoindent debug messages according to parent count

15 years agoImprove dependency handling
Timo Kokkonen [Sun, 18 May 2008 14:07:51 +0000 (17:07 +0300)]
Improve dependency handling

15 years agoSuppress warning messages about missing dependency files
Timo Kokkonen [Sun, 18 May 2008 13:42:40 +0000 (16:42 +0300)]
Suppress warning messages about missing dependency files

16 years agoFix count number of children correctly
Timo Kokkonen [Sun, 6 Apr 2008 09:14:38 +0000 (12:14 +0300)]
Fix count number of children correctly

16 years agoMake all debug output go through wrappers
Timo Kokkonen [Sun, 6 Apr 2008 08:29:36 +0000 (11:29 +0300)]
Make all debug output go through wrappers

16 years agoMove all fork operations to do_fork() functino
Timo Kokkonen [Sun, 6 Apr 2008 06:49:44 +0000 (09:49 +0300)]
Move all fork operations to do_fork() functino

16 years agoMove string manipulation functions to string.c
Timo Kokkonen [Thu, 3 Apr 2008 19:36:25 +0000 (22:36 +0300)]
Move string manipulation functions to string.c

16 years agoAdd fork debug and clear any child's child_count to zero after fork
Timo Kokkonen [Thu, 3 Apr 2008 19:29:15 +0000 (22:29 +0300)]
Add fork debug and clear any child's child_count to zero after fork

16 years agoMakefile verbosity change
Timo Kokkonen [Thu, 3 Apr 2008 19:28:02 +0000 (22:28 +0300)]
Makefile verbosity change

16 years agoSuppress warning messages
Timo Kokkonen [Tue, 1 Apr 2008 18:08:52 +0000 (21:08 +0300)]
Suppress warning messages

16 years agoRemove debug output
Timo Kokkonen [Tue, 1 Apr 2008 18:04:22 +0000 (21:04 +0300)]
Remove debug output

16 years agoFix digitemp parser
Timo Kokkonen [Tue, 1 Apr 2008 18:03:33 +0000 (21:03 +0300)]
Fix digitemp parser

16 years agoSuppress excess make verbosity
Timo Kokkonen [Mon, 31 Mar 2008 19:56:49 +0000 (22:56 +0300)]
Suppress excess make verbosity

16 years agoAdd support for stupid digitemp parser
Timo Kokkonen [Mon, 31 Mar 2008 18:51:49 +0000 (21:51 +0300)]
Add support for stupid digitemp parser

16 years agoEnsure proper dependency creation when only headers change
Timo Kokkonen [Mon, 31 Mar 2008 18:51:14 +0000 (21:51 +0300)]
Ensure proper dependency creation when only headers change

16 years agoAdd missing parameter
Timo Kokkonen [Mon, 31 Mar 2008 18:49:46 +0000 (21:49 +0300)]
Add missing parameter

16 years agoRemove commented code and update
Timo Kokkonen [Mon, 31 Mar 2008 17:51:10 +0000 (20:51 +0300)]
Remove commented code and update

16 years agoAdd digitemp parser
Timo Kokkonen [Mon, 31 Mar 2008 17:50:31 +0000 (20:50 +0300)]
Add digitemp parser

16 years agoAdd support for executing process while piping std{in,out} to parent
Timo Kokkonen [Mon, 31 Mar 2008 17:48:30 +0000 (20:48 +0300)]
Add support for executing process while piping std{in,out} to parent

16 years agoMake dependency check automatic
Timo Kokkonen [Mon, 31 Mar 2008 14:50:49 +0000 (17:50 +0300)]
Make dependency check automatic

16 years agoRename testdata.h to testadata.h.example
Timo Kokkonen [Sun, 30 Mar 2008 10:22:40 +0000 (13:22 +0300)]
Rename testdata.h to testadata.h.example

16 years agoInitial comit
Timo Kokkonen [Sun, 30 Mar 2008 10:16:43 +0000 (13:16 +0300)]
Initial comit