mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Adjusting vlabel and using ARGV key 0 instead of 1 for config pass
This commit is contained in:
parent
463bf9ccc7
commit
b94cf57b57
1 changed files with 2 additions and 2 deletions
|
@ -74,12 +74,12 @@ foreach my $process (keys %total_by_process)
|
|||
|
||||
close(PS);
|
||||
|
||||
if (@ARGV and $ARGV[1] eq "config")
|
||||
if (@ARGV and $ARGV[0] eq "config")
|
||||
{
|
||||
print <<END;
|
||||
graph_title Page faults by Process
|
||||
graph_args --base 1000
|
||||
graph_vlabel seconds
|
||||
graph_vlabel major page faults
|
||||
graph_category system
|
||||
graph_info Shows number of major page faults caused by each process name
|
||||
END
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue