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 f2PLaYw68408 for ; Sun, 25 Mar 2001 16:36:34 -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 QAA16925; Sun, 25 Mar 2001 16:36:06 -0500 (EST) From: Bruce Momjian Message-Id: <200103252136.QAA16925@candle.pha.pa.us> Subject: Re: pgmonitor on solaris In-Reply-To: "from Peter Eisentraut at Mar 25, 2001 10:39:09 pm" To: Peter Eisentraut Date: Sun, 25 Mar 2001 16:36:06 -0500 (EST) CC: =?ISO-8859-1?Q?Roberto_Jo=E3o_Lopes_Garcia?= , 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/169 X-Sequence-Number: 1330 You don't mention the version of pgmonitor, but 0.27 is the most recent. I just made a few awk fixes. Maybe that will fix it. Strange it is mentining an 'awk' error here. My guess is that it doesn't like some of the 'awk' commands I have used. Does anyone see some non-portable awk stuff in there? Can you run the command manually to find the part of the awk it is failing with? The main web site for pgmonitor is: http://greatbridge.org/project/pgmonitor/projdisplay.php You can download the most recent version from ftp://ftp.greatbridge.org/pub/pgmonitor Bruce Momjian [ Charset ISO-8859-1 unsupported, converting... ] > 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. > > > > 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. > > The x and w options for ps are BSD-style (not Linux). On Solaris you'll > find a BSD-style ps under /usr/ucb/. With the SysV-style ps at > /usr/bin/ps the -e option is the closest thing to it, but it probably > won't work with pgmonitor. > > -- > Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/ > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > -- 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