Re: pgmonitor on solaris

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Roberto João Lopes Garcia <roberto(at)mha(dot)com(dot)br>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: pgmonitor on solaris
Date: 2001-03-26 19:53:01
Message-ID: 200103261953.OAA01935@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

> 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(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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Roberto João Lopes Garcia 2001-03-26 20:10:33 Re: pgmonitor on solaris
Previous Message Bruce Momjian 2001-03-26 19:47:27 Re: pgmonitor on solaris