Re: pgmonitor on solaris - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: pgmonitor on solaris
Date
Msg-id 19504.985556231@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgmonitor on solaris  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: pgmonitor on solaris  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-interfaces
> Roberto Jo�o Lopes Garcia writes:
>> Is there a pgmonitor version for Solaris?? It dies with:
>>
>> Can't run 'ps': awk: syntax error near line 3
>> awk: illegal statement near line 3
>> awk: illegal statement near line 4
>> Please send in a patch.

Looks like your problem is not with ps, but with awk.  pgmonitor uses
a rather complicated awk program that is probably not too portable.
I hadn't complained about it before because I checked that it worked
with the vendor awk in HPUX, which I figured ought to be sufficiently
behind the times ;-).  Looks like I was mistaken.  Bruce, can you
simplify that awk program?
        regards, tom lane


pgsql-interfaces by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgmonitor on solaris
Next
From: Bruce Momjian
Date:
Subject: Re: pgmonitor on solaris