From f77cc199249722907d77b68a4e92c133bf754556 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Fri, 10 Jan 2020 09:38:57 +0100 Subject: [PATCH] fixed the scale in the y-axis of the memory graph in 'process.pm' --- lib/process.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/process.pm b/lib/process.pm index 4693783..9317a29 100644 --- a/lib/process.pm +++ b/lib/process.pm @@ -880,9 +880,9 @@ sub process_cgi { if($p) { $str = trim((split(',', $process->{desc}->{$p} || ""))[0]) || $p; $str =~ s/:/\\:/g; # escape colons - push(@tmpz, "LINE2:m_net" . $n . $LC[$n] . ":$str"); + push(@tmpz, "LINE2:net" . $n . $LC[$n] . ":$str"); $str = sprintf("%-20s", substr($str, 0, 20)); - push(@tmp, "LINE2:m_net" . $n . $LC[$n] . ":$str"); + push(@tmp, "LINE2:net" . $n . $LC[$n] . ":$str"); push(@tmp, "GPRINT:m_net" . $n . ":LAST:Cur\\: %4.1lfM"); push(@tmp, "GPRINT:m_net" . $n . ":MIN: Min\\: %4.1lfM"); push(@tmp, "GPRINT:m_net" . $n . ":MAX: Max\\: %4.1lfM\\n");