From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Roberto João Lopes Garcia <roberto@mha.com.br>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: pgmonitor on solaris
Date: Sun, 25 Mar 2001 16:45:43 -0500 (EST)
Message-ID: <200103252145.QAA17684@candle.pha.pa.us> (raw)
In-Reply-To: <19504.985556231@sss.pgh.pa.us>
> > 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?
I can't figure out how to simplify it, but I did find the use of \{
instead of { in the code and released a new version, 0.27. Hopefully
that will take care of it. If not, I can start stripping lines out of
the awk program until we fine 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, roberto@mha.com.br
Subject: Re: pgmonitor on solaris
In-Reply-To: <200103252145.QAA17684@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox