pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Roberto João Lopes Garcia <roberto@mha.com.br>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: pgmonitor on solaris
Date: Mon, 26 Mar 2001 14:53:01 -0500 (EST)
Message-ID: <200103261953.OAA01935@candle.pha.pa.us> (raw)
In-Reply-To: <5.0.2.1.0.20010326153208.00a79200@ftp.mha.com.br>

>  From the man /usr/ucb/ps there is no argument to display proccess for a 
> expecific user U or u so I think can't be used.
>  From the man /bin/ps: -f long format,
>                        -U user name list,
>                        -u user ID list,
>                        -e all proccess,
>                        -p proc list
> 
> I changed same pgmonitor ps_???_args but I could not fix it. Still not 
> showing proccess.

OK, let's stay away from ucb ps because with no user restriction, the ps
command will take too long to be run repeatedly.  Do you have gawk?  Can
you edit the script and replace the mention of nawk with gawk:

	if { ... nawk ...} {
		set awk "gawk"  <--------------
	}

and let me know how it works.

-- 
  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 (21+ messages)  latest in thread

Message-ID: <200103261953.OAA01935@candle.pha.pa.us>
Permalink:  ../200103261953.OAA01935@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200103261953.OAA01935@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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: pgman@candle.pha.pa.us, roberto@mha.com.br
  Subject: Re: pgmonitor on solaris
  In-Reply-To: <200103261953.OAA01935@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