mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Adjusting vlabel and using ARGV key 0 instead of 1 for config pass
This commit is contained in:
parent
463bf9ccc7
commit
b94cf57b57
@ -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…
Reference in New Issue
Block a user