Révision a975706f
plugins: another round of defined(@array) fixing
| plugins/apache/apache_smaps | ||
|---|---|---|
| 37 | 37 |
my $PNAME = exists $ENV{'pname'} ? $ENV{'pname'} : "httpd";
|
| 38 | 38 |
my $PUSER = exists $ENV{'puser'} ? $ENV{'puser'} : "apache";
|
| 39 | 39 |
|
| 40 |
if (defined(@ARGV) && ($ARGV[0] eq 'config')) {
|
|
| 40 |
if (@ARGV && ($ARGV[0] eq 'config')) {
|
|
| 41 | 41 |
print "graph_title Apache Smaps\n"; |
| 42 | 42 |
print "graph_args --base 1024 -l 0\n"; |
| 43 | 43 |
print "graph_vlabel Bytes\n"; |
Formats disponibles : Unified diff