From 03715904b0522010e9d315e3077e23d92905ef82 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sat, 10 Dec 2016 15:25:04 +0100 Subject: [PATCH] insert correct value for M --- atop2influx.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/"/; -- 2.20.1