mirror of https://github.com/mikaku/Monitorix.git
fixed to LINE1 the Involuntari Context Switches value in process.pm
This commit is contained in:
parent
1dc94fbcf1
commit
b7b61c0bfc
|
@ -1281,7 +1281,7 @@ sub process_cgi {
|
|||
$str = trim((split(',', $process->{desc}->{$p} || ""))[0]) || $p;
|
||||
$str =~ s/:/\\:/g; # escape colons
|
||||
push(@tmpz, "LINE2:vcs" . $n . $LC[$n] . ":$str");
|
||||
push(@tmpz, "LINE2:n_ics" . $n . $LC[$n]);
|
||||
push(@tmpz, "LINE1:n_ics" . $n . $LC[$n]);
|
||||
$str = sprintf("%-20s", substr($str, 0, 20));
|
||||
push(@tmp, "LINE2:vcs" . $n . $LC[$n] . ":$str");
|
||||
push(@tmp, "GPRINT:tcs" . $n . ":LAST:Cur\\:%7.1lf");
|
||||
|
|
Loading…
Reference in New Issue