Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2000 16:14:30 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Chris Ptacek <ptacek@uranium.dashmail.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Changing the name of the progam seen by ps etc
Message-ID:  <20000829161430.H18862@fw.wintelcom.net>
In-Reply-To: <Pine.BSF.4.21.0008291553080.83498-100000@uranium.dashmail.net>; from ptacek@uranium.dashmail.net on Tue, Aug 29, 2000 at 04:00:53PM -0700
References:  <Pine.BSF.4.21.0008291553080.83498-100000@uranium.dashmail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Chris Ptacek <ptacek@uranium.dashmail.net> [000829 15:56] wrote:
> I have a program that changes the name seen by the ps
> command by doing a strcpy(argv[0], "NAME") ;  This has
> worked up until we tried it on FreeBSD 4.1.  Is there
> a better way we should be doing this?  Thanks for any
> help.

setproctitle in libutil.

-Alfred


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000829161430.H18862>