Re: pgmonitor on solaris

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Roberto João Lopes Garcia <roberto(at)mha(dot)com(dot)br>
Cc: <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: pgmonitor on solaris
Date: 2001-03-25 20:39:09
Message-ID: Pine.LNX.4.30.0103252236290.941-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.
>
> 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(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Cedar Cox 2001-03-25 21:14:50 Re: postgres
Previous Message Seema Noor 2001-03-25 18:12:23 Problem in PostgreSQL - jdbc