Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 May 2005 09:09:12 -1000
From:      Clifton Royston <cliftonr@tikitechnologies.com>
To:        John Oxley <john.oxley@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: Process tracking
Message-ID:  <20050509190911.GB2626@tikitechnologies.com>
In-Reply-To: <ba2001e5050509065123321fe0@mail.gmail.com>
References:  <ba2001e5050509065123321fe0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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