From owner-freebsd-questions Tue Nov 30 22:20:30 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.wcarey.com (mail.wcarey.com [209.181.61.113]) by hub.freebsd.org (Postfix) with ESMTP id D9A7014F2C for ; Tue, 30 Nov 1999 22:20:28 -0800 (PST) (envelope-from wcarey@wcarey.com) Received: from mail.wcarey.com (mail.wcarey.com [209.181.61.113]) by mail.wcarey.com (8.9.3/8.9.3) with ESMTP id VAA98392; Tue, 30 Nov 1999 21:26:24 -0800 (PST) (envelope-from wcarey@wcarey.com) Date: Tue, 30 Nov 1999 21:26:24 -0800 (PST) From: Woody Carey To: Jerry Preeper Cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: how to get name of perl program running from pid In-Reply-To: <3.0.5.32.19991130191249.00878260@cts.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Can't one do this with ps -a | grep PID ? On Tue, 30 Nov 1999, Jerry Preeper wrote: > I was wondering if there is a way to find out which perl program is being > run by knowing it's PID. Every once in a while when running top I see a > perl script that seems to be running for a very long time and I'd like to > find out which program it is. Is there some command that I can run when I > see the PID to track back and see what program is running it. Thanks. > > Jerry > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message