1
0
Fork 0
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:
Jesse R. Adams 2013-04-10 17:02:11 -05:00
parent 463bf9ccc7
commit b94cf57b57

View file

@ -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