Re: pgmonitor on solaris

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgmonitor on solaris
Дата
Msg-id 200103261953.OAA01935@candle.pha.pa.us
обсуждение исходный текст
Ответ на pgmonitor on solaris  (Roberto João Lopes Garcia <roberto@mha.com.br>)
Ответы Re: pgmonitor on solaris
Re: pgmonitor on solaris
Список 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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pgmonitor on solaris
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pgmonitor on solaris