projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d698740
)
Need additional zero to support previous fix.
author
Greg Sabino Mullane
<greg@endpoint.com>
Fri, 13 Mar 2009 14:42:28 +0000
(10:42 -0400)
committer
Greg Sabino Mullane
<greg@endpoint.com>
Fri, 13 Mar 2009 14:42:28 +0000
(10:42 -0400)
check_postgres.pl
patch
|
blob
|
blame
|
history
diff --git
a/check_postgres.pl
b/check_postgres.pl
index 33f6a6fb156f9e610bd79ef076e4e0e784675603..d1538fa056b5259c40ff3892c258f42a73b40cfc 100755
(executable)
--- a/
check_postgres.pl
+++ b/
check_postgres.pl
@@
-4374,7
+4374,7
@@
sub show_dbstats {
next SLURP unless $keepit;
}
my $template = "backends:%d commits:%d rollbacks:%d read:%d hit:%d ret:%d fetch:%d ins:%d upd: %d del:%d";
- my $msg = sprintf "$template", @stats, (0,0,0,0);
+ my $msg = sprintf "$template", @stats, (0,0,0,0
,0
);
print "$msg dbname:$dbname\n";
}
}