Re: [HACKERS] removing the exec() from doexec()
Marc G. Fournier <scrappy@hub.org>
From: The Hermit Hacker <scrappy@hub.org>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: Brett McCormickS <brett@abraxas.scene.com>, pgsql-hackers@hub.org
Date: 1998-04-30T02:20:52Z
Lists: pgsql-hackers
On Wed, 29 Apr 1998, Bruce Momjian wrote:
> No reason for the exec(). I believe the only advantage is that it gives
> us a separate process name in the 'ps' listing. I have looked into
> simulating this.
Under FreeBSD, there is:
setproctitle(3) - set the process title for ps 1
This isn't available under Solaris though, last I checked...
Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org