Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by mail.postgresql.org (8.11.3/8.11.1) with ESMTP id f2QJr7w54343 for ; Mon, 26 Mar 2001 14:53:07 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id OAA01935; Mon, 26 Mar 2001 14:53:01 -0500 (EST) From: Bruce Momjian Message-Id: <200103261953.OAA01935@candle.pha.pa.us> Subject: Re: pgmonitor on solaris In-Reply-To: <5.0.2.1.0.20010326153208.00a79200@ftp.mha.com.br> =?ISO-8859-1?Q?from_Roberto_Jo=E3o_Lopes_Garcia_at_Mar_26=2C_2001_04=3A32=3A?= =?ISO-8859-1?Q?17_pm?= To: =?ISO-8859-1?Q?Roberto_Jo=E3o_Lopes_Garcia?= Date: Mon, 26 Mar 2001 14:53:01 -0500 (EST) CC: pgsql-interfaces@postgresql.org X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200103/185 X-Sequence-Number: 1346 > From the man /usr/ucb/ps there is no argument to display proccess for a > expecific user U or u so I think can't be used. > From the man /bin/ps: -f long format, > -U user name list, > -u user ID list, > -e all proccess, > -p proc list > > I changed same pgmonitor ps_???_args but I could not fix it. Still not > showing proccess. OK, let's stay away from ucb ps because with no user restriction, the ps command will take too long to be run repeatedly. Do you have gawk? Can you edit the script and replace the mention of nawk with gawk: if { ... nawk ...} { set awk "gawk" <-------------- } and let me know how it works. -- 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