Re: postgres memory management

Pete Forman <pete.forman@westerngeco.com>

From: Pete Forman <pete.forman@westerngeco.com>
To: Justin Clift <aa2@bigpond.net.au>
Cc: Alexander Jerusalem <ajeru@gmx.net>, pgsql-general@postgresql.org, pgsql-hackers@postgresql.org
Date: 2001-01-23T10:59:28Z
Lists: pgsql-hackers, pgsql-general
Justin Clift writes:
 > I found the solution to this being to edit the ipcclean script and
 > change the "ps x | grep -s 'postmaster'" part to "ps -e | grep -s
 > 'postmaster'".  This then works correctly with Mandrake 7.2.

A standard way of finding a process by name without the grep itself
appearing is use something like "grep '[p]ostmaster'".
-- 
Pete Forman                 -./\.- Disclaimer: This post is originated
WesternGeco                   -./\.-  by myself and does not represent
pete.forman@westerngeco.com     -./\.-  opinion of Schlumberger, Baker
http://www.crosswinds.net/~petef  -./\.-  Hughes or their divisions.