mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-09-19 09:03:20 +00:00
Fix string comparison.
This commit is contained in:
parent
c00710c083
commit
fcbc8edbf8
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ foreach my $process (keys %total_cpu_by_process)
|
||||||
|
|
||||||
close(PS);
|
close(PS);
|
||||||
|
|
||||||
if (@ARGV and $ARGV[1] == "config")
|
if (@ARGV and $ARGV[1] eq "config")
|
||||||
{
|
{
|
||||||
print <<END;
|
print <<END;
|
||||||
graph_title CPU time by Process
|
graph_title CPU time by Process
|
||||||
|
|
|
@ -74,7 +74,7 @@ foreach my $process (keys %total_by_process)
|
||||||
|
|
||||||
close(PS);
|
close(PS);
|
||||||
|
|
||||||
if (@ARGV and $ARGV[1] == "config")
|
if (@ARGV and $ARGV[1] eq "config")
|
||||||
{
|
{
|
||||||
print <<END;
|
print <<END;
|
||||||
graph_title Page faults by Process
|
graph_title Page faults by Process
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue