[snip]
Just to enforce the test is better looking for the entire executable path:
ps aux | grep /usr/bin/postmaster | grep -v grep
Does not work for me!
[EMAIL PROTECTED]:~$ ps aux | grep /usr/bin/postmaster | grep -v grep
[EMAIL PROTECTED]:~$ ps aux | grep postmaster | grep -v grep
postgres 670 0.1 0.6 8544 1688 pts/1 S 12:33 0:00 /usr/lib/postgresql/bin/postmaster
[EMAIL PROTECTED]:~$
So... " ps aux | grep postmaster | grep -v grep " is more reliable(?)
cheers Worik
Regards Gaetano Mendola
---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster
---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]