Re: pgmonitor on solaris
От | Bruce Momjian |
---|---|
Тема | Re: pgmonitor on solaris |
Дата | |
Msg-id | 200103252145.QAA17684@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: pgmonitor on solaris (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | 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. > > 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, Pennsylvania19026
В списке pgsql-interfaces по дате отправления: