Re: setproctitle() no longer used?

From: Vince Vielhaber <vev(at)michvhf(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: The Hermit Hacker <scrappy(at)hub(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: setproctitle() no longer used?
Date: 2000-05-10 23:06:21
Message-ID: Pine.BSF.4.21.0005101905410.33388-100000@paprika.michvhf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 10 May 2000, Bruce Momjian wrote:

> > On Wed, 10 May 2000, Bruce Momjian wrote:
> >
> > > > D'oh, okay...I ended up going through the v6.5.* source code too, and
> > > > couldn't find it there. I forget how Bruce had implemented it using
> > > > argv[0], and yes, it is definitely broken on FreeBSD 4.0 ...
> > > >
> > > > I'll look at doing the change here locally, since I know
> > > > setproctitle() does work, as I find it invaluable to know what is running,
> > > > and where ...
> > >
> > > Can you find out if it is broken, or they have stopped supporting it in
> > > FreeBSD.
> >
> > In 4.0-Rel they're not saying it's gone or going away, just that you
> > need to link with -lutil if you use it. They also state that there's
> > no standard but that they believe they're using the predominant
> > convention.
>
> So if you use -lutil, the argv[0] trick works, and if you don't, it
> doesn't? If so, we can get that into the FreeBSD template.

'splain the "argv[0] trick" briefly.

Vince.
--
==========================================================================
Vince Vielhaber -- KA8CSH email: vev(at)michvhf(dot)com http://www.pop4.net
128K ISDN from $22.00/mo - 56K Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-05-10 23:07:46 Re: setproctitle() no longer used?
Previous Message Bruce Momjian 2000-05-10 23:02:20 Re: setproctitle() no longer used?