pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Larry Rosenman <ler@lerctr.org>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: PostgreSQL-ports <pgsql-ports@postgresql.org>
Cc: PostgreSQL-Admin <pgsql-admin@postgresql.org>
Subject: Re: [HACKERS] Re: [PORTS] pgmonitor and Solaris
Date: Wed, 28 Mar 2001 16:56:15 -0500 (EST)
Message-ID: <200103282156.QAA20902@candle.pha.pa.us> (raw)
In-Reply-To: <20010328.21515000@ler-freebie.iadfw.net>

[ 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



view thread (35+ messages)  latest in thread

Message-ID: <200103282156.QAA20902@candle.pha.pa.us>
Permalink:  ../200103282156.QAA20902@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200103282156.QAA20902@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: pgman@candle.pha.pa.us, ler@lerctr.org, peter_e@gmx.net, pgsql-hackers@postgresql.org, pgsql-ports@postgresql.org
  Subject: Re: [HACKERS] Re: [PORTS] pgmonitor and Solaris
  In-Reply-To: <200103282156.QAA20902@candle.pha.pa.us>
  References: <20010328.21515000@ler-freebie.iadfw.net> <200103282156.QAA20902@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox