From owner-freebsd-questions@FreeBSD.ORG Mon May 9 19:09:12 2005 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 D25DD16A4EA for ; Mon, 9 May 2005 19:09:12 +0000 (GMT) Received: from malasada.lava.net (malasada.lava.net [64.65.64.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5A2D43D8D for ; Mon, 9 May 2005 19:09:12 +0000 (GMT) (envelope-from cliftonr@lava.net) Received: by malasada.lava.net (Postfix, from userid 102) id 5BB07153882; Mon, 9 May 2005 09:09:12 -1000 (HST) Date: Mon, 9 May 2005 09:09:12 -1000 From: Clifton Royston To: John Oxley Message-ID: <20050509190911.GB2626@tikitechnologies.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i cc: questions@freebsd.org Subject: Re: Process tracking 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: Mon, 09 May 2005 19:09:12 -0000 On Mon, May 09, 2005 at 03:51:30PM +0200, John Oxley wrote: > Right, when i run top I see perl grazing 50% of my CPU. How do I find > out what process actually launched that. Simply running ps with appropriate options (my favorites being -auxww) will let you see the command line and parameters which usually tells you how perl was invoked. If you use the above options, the most CPU intensive task will appear at the top of the list: ps -auxww | head -- Clifton -- Clifton Royston -- cliftonr@tikitechnologies.com Tiki Technologies Lead Programmer/Software Architect "I'm gonna tell my son to grow up pretty as the grass is green And whip-smart as the English Channel's wide..." -- 'Whip-Smart', Liz Phair