Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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                        |
  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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group