mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ foreach my $process (keys %total_cpu_by_process)
|
|||
|
||||
close(PS);
|
||||
|
||||
if (@ARGV and $ARGV[1] eq "config")
|
||||
if (@ARGV and $ARGV[0] eq "config")
|
||||
{
|
||||
print <<END;
|
||||
graph_title CPU time by Process
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue