Clinging to sanity, [EMAIL PROTECTED] (Worik) mumbled into her beard: > [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(?)
There's a very slightly clever modification that gets rid of the extra grep... Try.. [appropriate ps command for your platform] | egrep '[p]ostmaster' That egrep _won't_ match its own command line. -- let name="cbbrowne" and tld="ntlug.org" in String.concat "@" [name;tld];; http://www3.sympatico.ca/cbbrowne/multiplexor.html He doesn't have much of a reputation, or so I've heard. ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])