Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Re: [PORTS] pgmonitor and Solaris

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL-ports <pgsql-ports(at)postgresql(dot)org>, PostgreSQL-Admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [HACKERS] Re: [PORTS] pgmonitor and Solaris
Date: 2001-03-28 21:56:15
Message-ID: 200103282156.QAA20902@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-hackerspgsql-ports
[ 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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

Responses

pgsql-ports by date

Next:From: Mathijs BrandsDate: 2001-03-28 22:30:06
Subject: Re: [HACKERS] Re: [PORTS] pgmonitor and Solaris
Previous:From: Larry RosenmanDate: 2001-03-28 21:51:50
Subject: Re: [HACKERS] Re: [PORTS] pgmonitor and Solaris

pgsql-hackers by date

Next:From: Mathijs BrandsDate: 2001-03-28 22:30:06
Subject: Re: [HACKERS] Re: [PORTS] pgmonitor and Solaris
Previous:From: Larry RosenmanDate: 2001-03-28 21:51:50
Subject: Re: [HACKERS] Re: [PORTS] pgmonitor and Solaris

pgsql-admin by date

Next:From: Doug PinneyDate: 2001-03-28 22:03:00
Subject: db dump: handling large objects
Previous:From: Larry RosenmanDate: 2001-03-28 21:51:50
Subject: Re: [HACKERS] Re: [PORTS] pgmonitor and Solaris

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group