Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2PLatw68425 for ; Sun, 25 Mar 2001 16:36:55 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id QAA16953; Sun, 25 Mar 2001 16:36:43 -0500 (EST) From: Bruce Momjian Message-Id: <200103252136.QAA16953@candle.pha.pa.us> Subject: Re: pgmonitor on solaris In-Reply-To: <5.0.2.1.0.20010323094825.00a68d90@ftp.mha.com.br> =?ISO-8859-1?Q?from_Roberto_Jo=E3o_Lopes_Garcia_at_Mar_23=2C_2001_10=3A03=3A?= =?ISO-8859-1?Q?28_am?= To: =?ISO-8859-1?Q?Roberto_Jo=E3o_Lopes_Garcia?= Date: Sun, 25 Mar 2001 16:36:43 -0500 (EST) CC: pgsql-interfaces@postgresql.org X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200103/170 X-Sequence-Number: 1331 > Hi > > 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. > > I tried to fix it whith: > > 1 - correct the path to ps. > 2 - convert Linux ps args to Solaris 2.5.1 ps args. > > Step 2 did not work, I could not find equivalents to x,w args and I do not > know if it is the only think that must be fixed. See previous email. Seems it is my awk code that is the problem. -- 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