From owner-freebsd-questions@FreeBSD.ORG Tue Jul 8 07:39:20 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 3F8DC37B401 for ; Tue, 8 Jul 2003 07:39:20 -0700 (PDT) Received: from blacklamb.mykitchentable.net (65-37-69-83.bras01.elk.ca.frontiernet.net [65.37.69.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFDD443FB1 for ; Tue, 8 Jul 2003 07:39:19 -0700 (PDT) (envelope-from drew@mykitchentable.net) Received: from tagalong (unknown [165.107.42.110]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 5B49D3BF41E for ; Tue, 8 Jul 2003 07:39:15 -0700 (PDT) Message-ID: <003001c3455e$b6c322f0$6e2a6ba5@lc.ca.gov> From: "Drew Tomlinson" To: "FreeBSD Questions" Date: Tue, 8 Jul 2003 07:39:15 -0700 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 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: 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:39:20 -0000 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