Received: from sss.pgh.pa.us (sss.pgh.pa.us [209.114.132.154]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2PLbJw68446 for ; Sun, 25 Mar 2001 16:37:19 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.3/8.11.3) with ESMTP id f2PLbBw19507; Sun, 25 Mar 2001 16:37:11 -0500 (EST) To: Roberto =?iso-8859-1?Q?Jo=E3o?= Lopes Garcia cc: pgsql-interfaces@postgresql.org, Bruce Momjian Subject: Re: pgmonitor on solaris In-reply-to: References: Comments: In-reply-to Peter Eisentraut message dated "Sun, 25 Mar 2001 22:39:09 +0200" Date: Sun, 25 Mar 2001 16:37:11 -0500 Message-ID: <19504.985556231@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200103/171 X-Sequence-Number: 1332 > 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