mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 14:16:00 +00:00
cosmetic fixes
This commit is contained in:
parent
c2214999c3
commit
ade1481717
1 changed files with 2 additions and 2 deletions
|
@ -88,9 +88,10 @@ sub print_graph_data() {
|
||||||
my $threads = get_thread_list();
|
my $threads = get_thread_list();
|
||||||
my %counts = ();
|
my %counts = ();
|
||||||
my ($thread, $user, $count);
|
my ($thread, $user, $count);
|
||||||
|
|
||||||
while (($thread, $user) = each %$threads) {
|
while (($thread, $user) = each %$threads) {
|
||||||
$counts{$user} = 0 unless defined($counts{$user});
|
$counts{$user} = 0 unless defined($counts{$user});
|
||||||
$counts{$user} += 1;
|
$counts{$user}++;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub valsort {
|
sub valsort {
|
||||||
|
@ -103,7 +104,6 @@ sub print_graph_data() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
sub poll_variables {
|
sub poll_variables {
|
||||||
my $command = shift;
|
my $command = shift;
|
||||||
my $expression = shift;
|
my $expression = shift;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue