X-Git-Url: http://git.rot13.org/?p=atop-influxdb;a=blobdiff_plain;f=atop2influx.pl;h=d56c4da7c749ff0bb6d56d83490a87970328cbbb;hp=691defccad7c80c5d1c9e9e4b3ae978321d10b46;hb=03715904b0522010e9d315e3077e23d92905ef82;hpb=d6d37f23835b9e6061295c55b5d20133e8a243c7 diff --git a/atop2influx.pl b/atop2influx.pl index 691defc..d56c4da 100755 --- a/atop2influx.pl +++ b/atop2influx.pl @@ -80,8 +80,8 @@ while(<>) { next; }; - #$v *= 1024 * 1024 if $v =~ s/M$//; - $v =~ s/M$//; + $v *= 1024 * 1024 if $v =~ s/M$//; + #$v =~ s/M$//; $v =~ s/%$//; $v =~ s/\s/\\ /g unless $v =~ m/"/;