Received: from candle.pha.pa.us (maillist@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.9.1/8.9.1) with ESMTP id LAA04940 for ; Wed, 28 Oct 1998 11:50:12 -0500 (EST) (envelope-from maillist@candle.pha.pa.us) Received: (from maillist@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id LAA22860; Wed, 28 Oct 1998 11:49:59 -0500 (EST) From: Bruce Momjian Message-Id: <199810281649.LAA22860@candle.pha.pa.us> Subject: Re: [HACKERS] Open 6.4 items In-Reply-To: from Jan Wieck at "Oct 28, 1998 5:53: 3 pm" To: jwieck@debis.com Date: Wed, 28 Oct 1998 11:49:59 -0500 (EST) Cc: hackers@postgreSQL.org X-Mailer: ELM [version 2.4ME+ PL47 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > > > Here are the open items. Thanks to Jan, the only 'hot' item left is the > > ps args issue. People on non-BSD platforms will see all their backends > > called 'postmaster', because argv[0] changes do not reflect in ps arg > > displays. > > > > I have asked that at least we get set_proctitle() working for Linux, but > > no one wants to do it, and we can't remove the it because we would have > > to add the exec() back into backend creation, which is impossible at > > this point. > > I'm running Linux 2.1.88 and get > > 15572 p2 S 0:01 /usr/local/pgsql/bin/postmaster -o -F > 16121 p2 S 0:01 /usr/local/pgsql/bin/postgres localhost twieck twieck idle > > from ps. So what isn't working? Whoh, this is a shock. I thought this trick did not work under Linux. If it does, and no one has complained, we can consider the issue closed. Massimo did a nice job of moving my ps status stuff into pg_status.h, but it looks like the same code that modifies argv[0]. Perhaps it is the Linux version you are using. It give us a cheap 'db monitor' capability, wrapped into the 'ps' command. -- Bruce Momjian | http://www.op.net/~candle maillist@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