Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2SLx9U01812; Wed, 28 Mar 2001 16:59:09 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id QAA20902; Wed, 28 Mar 2001 16:56:15 -0500 (EST) From: Bruce Momjian Message-Id: <200103282156.QAA20902@candle.pha.pa.us> Subject: Re: [HACKERS] Re: [PORTS] pgmonitor and Solaris In-Reply-To: <20010328.21515000@ler-freebie.iadfw.net> "from Larry Rosenman at Mar 28, 2001 09:51:50 pm" To: Larry Rosenman Date: Wed, 28 Mar 2001 16:56:15 -0500 (EST) CC: Peter Eisentraut , PostgreSQL-development , PostgreSQL-ports , PostgreSQL-Admin X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200103/214 X-Sequence-Number: 1061 [ Charset ISO-8859-1 unsupported, converting... ] > whats wrong with /usr/ucb/ps auxw | grep $PGUSER > > to get only the processes for PG? I can do that if there is no other option, but on my BSDI machine, restricting ps to a specific user is much faster than a ps on the whole system. Seeing that 'ps' is run by default every 5 seconds, this could be a performance issue. If I have to use 'grep' I will, but I was hoping for a real user restriction. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026