Révision b94cf57b
Adjusting vlabel and using ARGV key 0 instead of 1 for config pass
| plugins/system/pagefaults_by_process | ||
|---|---|---|
| 74 | 74 |
|
| 75 | 75 |
close(PS); |
| 76 | 76 |
|
| 77 |
if (@ARGV and $ARGV[1] eq "config")
|
|
| 77 |
if (@ARGV and $ARGV[0] eq "config")
|
|
| 78 | 78 |
{
|
| 79 | 79 |
print <<END; |
| 80 | 80 |
graph_title Page faults by Process |
| 81 | 81 |
graph_args --base 1000 |
| 82 |
graph_vlabel seconds
|
|
| 82 |
graph_vlabel major page faults
|
|
| 83 | 83 |
graph_category system |
| 84 | 84 |
graph_info Shows number of major page faults caused by each process name |
| 85 | 85 |
END |
Formats disponibles : Unified diff