Assuming it is unix.... The command
ps xau|grep post
You might want to change that to:
ps aux|grep postgres
As your suggestion will pick up extraneous data if one is running postfix on the same box.
-- Until later, Geoffrey Registered Linux User #108567 AT&T Certified UNIX System Programmer - 1995
---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]