From owner-freebsd-questions Tue Aug 29 16:14:34 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id DEBF237B423 for ; Tue, 29 Aug 2000 16:14:31 -0700 (PDT) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e7TNEVn29772; Tue, 29 Aug 2000 16:14:31 -0700 (PDT) Date: Tue, 29 Aug 2000 16:14:30 -0700 From: Alfred Perlstein To: Chris Ptacek Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Changing the name of the progam seen by ps etc Message-ID: <20000829161430.H18862@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from ptacek@uranium.dashmail.net on Tue, Aug 29, 2000 at 04:00:53PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Chris Ptacek [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