projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
contrib/format.sh: Fix bashisms.
[collectd.git]
/
contrib
/
migrate-4-5.px
diff --git
a/contrib/migrate-4-5.px
b/contrib/migrate-4-5.px
index
c39b51b
..
8e5a7ed
100755
(executable)
--- a/
contrib/migrate-4-5.px
+++ b/
contrib/migrate-4-5.px
@@
-104,8
+104,6
@@
our %TypesCounterToDerive = # {{{
protocol_counter => ["value"],
ps_cputime => ["user", "syst"],
ps_pagefaults => ["minflt", "majflt"],
protocol_counter => ["value"],
ps_cputime => ["user", "syst"],
ps_pagefaults => ["minflt", "majflt"],
- ps_code => ["value"],
- ps_data => ["value"],
serial_octets => ["rx", "tx"],
swap_io => ["value"],
virt_cpu_total => ["ns"],
serial_octets => ["rx", "tx"],
swap_io => ["value"],
virt_cpu_total => ["ns"],
@@
-187,8
+185,8
@@
sub handle_file # {{{
print "mkdir -p \"$dir/$plugin-$type_inst\"\n";
if (($plugin eq 'df') and ($type eq 'df'))
{
print "mkdir -p \"$dir/$plugin-$type_inst\"\n";
if (($plugin eq 'df') and ($type eq 'df'))
{
- print "$RRDFilter --infile=\"$path\" --outfile=\"$dir/$plugin-$type_inst/df_complex-free.rrd --map free:value\n";
- print "$RRDFilter --infile=\"$path\" --outfile=\"$dir/$plugin-$type_inst/df_complex-used.rrd --map used:value\n";
+ print "$RRDFilter --infile=\"$path\" --outfile=\"$dir/$plugin-$type_inst/df_complex-free.rrd
\"
--map free:value\n";
+ print "$RRDFilter --infile=\"$path\" --outfile=\"$dir/$plugin-$type_inst/df_complex-used.rrd
\"
--map used:value\n";
}
else
{
}
else
{