fixed the scale in the y-axis of the memory graph in 'process.pm'

This commit is contained in:
Jordi Sanfeliu 2020-01-10 09:38:57 +01:00
parent 425b4e98cc
commit f77cc19924
1 changed files with 2 additions and 2 deletions

View File

@ -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");