Re: pgmonitor on solaris - Mailing list pgsql-interfaces

From Roberto João Lopes Garcia
Subject Re: pgmonitor on solaris
Date
Msg-id 5.0.2.1.0.20010326170850.00a611b0@ftp.mha.com.br
Whole thread Raw
In response to Re: pgmonitor on solaris  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-interfaces
I don't have gawk.

I just get it. Will compile test and  send results back to you.

Roberto

At 16:53 26/03/01, Bruce Momjian wrote:
> >  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



pgsql-interfaces by date:

Previous
From: Roberto João Lopes Garcia
Date:
Subject: Re: pgmonitor on solaris
Next
From: Roberto João Lopes Garcia
Date:
Subject: Re: pgmonitor on solaris