Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/oracle/oracle__connections | ||
|---|---|---|
| 30 | 30 |
# 'oracle'. Anyway, Munin must be told which user |
| 31 | 31 |
# this plugin should be run as. |
| 32 | 32 |
# dbpass - The corresponding password, if |
| 33 |
# applicable. Default to undef.
|
|
| 33 |
# applicable. Default to undef. |
|
| 34 | 34 |
# |
| 35 | 35 |
# showusers - If set to 1 show usernames and num. of connections. |
| 36 | 36 |
# Default is not show users (0). |
| ... | ... | |
| 137 | 137 |
$sth->execute(); |
| 138 | 138 |
my $total = 0; |
| 139 | 139 |
while ( my ($datname,$curr_conn) = $sth->fetchrow_array ) {
|
| 140 |
print "$datname.value $curr_conn\n";
|
|
| 140 |
print "$datname.value $curr_conn\n"; |
|
| 141 | 141 |
$total = $total+$curr_conn; |
| 142 |
}
|
|
| 142 |
} |
|
| 143 | 143 |
print "total.value $total\n"; |
| 144 | 144 |
} else {
|
| 145 | 145 |
my $sql = "select count(username) from v\$session where username is not null"; |
Formats disponibles : Unified diff