mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
fix typo of extra L issue #1509
This commit is contained in:
parent
20c7764485
commit
d856c1e080
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ for host in $hosts; do
|
||||||
# Parsing data
|
# Parsing data
|
||||||
q='SELECT SUM(xact_commit + xact_rollback), SUM(numbackends)
|
q='SELECT SUM(xact_commit + xact_rollback), SUM(numbackends)
|
||||||
FROM pg_stat_database;'
|
FROM pg_stat_database;'
|
||||||
status=$($sql plsql -d postgres -c "$q" 2>/dev/null); code="$?"
|
status=$($sql psql -d postgres -c "$q" 2>/dev/null); code="$?"
|
||||||
if [ '0' -ne "$code" ]; then
|
if [ '0' -ne "$code" ]; then
|
||||||
active=0
|
active=0
|
||||||
slow=0
|
slow=0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue