This repository has been archived on 2025-02-12. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
CLF/html/scripts/bin/pgsqlhealth
2004-09-10 11:31:11 +00:00

7 lines
172 B
Tcsh

#!/bin/tcsh
#$Id$
set file=/tmp/pgsqlhealthcheck.$$
pgsqllogin >& $file
set results=`grep ^'TSyslog=>' $file | wc -l | tr -s " " "\t" | cut -f2`
echo $results
rm -f $file