From owner-freebsd-questions@FreeBSD.ORG Tue Jul 8 07:56:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EB9437B401 for ; Tue, 8 Jul 2003 07:56:44 -0700 (PDT) Received: from zim.0x7e.net (zim.0x7e.net [203.38.184.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1888043F3F for ; Tue, 8 Jul 2003 07:56:43 -0700 (PDT) (envelope-from listone@deathbeforedecaf.net) Received: from goo.0x7e.net ([203.38.184.164] helo=goo) by zim.0x7e.net with smtp (Exim 3.36 #1) id 19ZttX-00007V-00; Wed, 09 Jul 2003 00:26:39 +0930 Message-ID: <000a01c34561$228ff5b0$a4b826cb@goo> From: "Rob" To: "Drew Tomlinson" , "FreeBSD Questions" References: <003001c3455e$b6c322f0$6e2a6ba5@lc.ca.gov> Date: Wed, 9 Jul 2003 00:26:38 +0930 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Subject: Re: Can I Set Process Name? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 14:56:44 -0000 setproctitle(3) - but I don't know how you would call it from perl. ----- Original Message ----- From: "Drew Tomlinson" To: "FreeBSD Questions" Sent: Wednesday, July 09, 2003 12:09 AM Subject: Can I Set Process Name? > Is there a way to either change the name of a running process or start > the process with a name of my choosing? On my system, I am running > webmin and spamd. Both processes show in ps -acux output as "perl". > > blacklamb# ps -acux | grep perl > root 22476 0.0 2.9 6760 5576 ?? Ss Sat11AM 0:06.30 perl > root 33725 0.0 11.0 21604 21196 ?? Ss 9:07PM 0:03.11 > perl > > Is there a way to make the webmin process name "webmin" and the spamd > process "spamd"? I'm willing to read but have no idea where to start so > please nudge me in the right direction. > > Thanks, > > Drew > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >