From: Bruce Momjian <maillist@candle.pha.pa.us>
To: jwieck@debis.com
Cc: hackers@postgreSQL.org
Subject: Re: [HACKERS] Open 6.4 items
Date: Wed, 28 Oct 1998 11:49:59 -0500 (EST)
Message-ID: <199810281649.LAA22860@candle.pha.pa.us> (raw)
In-Reply-To: <m0zYYqF-000EBPC@orion.SAPserv.Hamburg.dsh.de>
> >
> > 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: maillist@candle.pha.pa.us, jwieck@debis.com, hackers@postgreSQL.org
Subject: Re: [HACKERS] Open 6.4 items
In-Reply-To: <199810281649.LAA22860@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox