mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Update cpu_by_process
fix, plugin didn't worked in munin 2.0: config param is in ARGV[0], not ARGV[1]
This commit is contained in:
parent
21a31a4184
commit
f82b011c4e
@ -75,7 +75,7 @@ foreach my $process (keys %total_cpu_by_process)
|
|||||||
|
|
||||||
close(PS);
|
close(PS);
|
||||||
|
|
||||||
if (@ARGV and $ARGV[1] eq "config")
|
if (@ARGV and $ARGV[0] eq "config")
|
||||||
{
|
{
|
||||||
print <<END;
|
print <<END;
|
||||||
graph_title CPU time by Process
|
graph_title CPU time by Process
|
||||||
|
Loading…
Reference in New Issue
Block a user