Re: pgmonitor on solaris

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Roberto João Lopes Garcia <roberto(at)mha(dot)com(dot)br>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: pgmonitor on solaris
Date: 2001-03-25 21:45:43
Message-ID: 200103252145.QAA17684@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

> > Roberto Joo 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Aaron Brashears 2001-03-25 22:06:22 Re: [JDBC] Problem in PostgreSQL - jdbc
Previous Message Tom Lane 2001-03-25 21:37:11 Re: pgmonitor on solaris