> Roberto Joo 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