From owner-freebsd-questions@FreeBSD.ORG Fri Apr 8 14:41:09 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 952AF16A4CE for ; Fri, 8 Apr 2005 14:41:09 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEF5643D31 for ; Fri, 8 Apr 2005 14:41:07 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])j38Ee9ts012326; Fri, 8 Apr 2005 17:40:09 +0300 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) j38Ef5tF089817; Fri, 8 Apr 2005 17:41:05 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)j38Ef5HW089807; Fri, 8 Apr 2005 17:41:05 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 8 Apr 2005 17:41:05 +0300 From: Giorgos Keramidas To: Richard Morse Message-ID: <20050408144104.GA75094@orion.daedalusnetworks.priv> References: <0C6023A0-A83B-11D9-B765-000A956EB07E@partners.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0C6023A0-A83B-11D9-B765-000A956EB07E@partners.org> cc: freebsd-questions@freebsd.org Subject: Re: Any way to log all process launches? 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: Fri, 08 Apr 2005 14:41:09 -0000 On 2005-04-08 10:32, Richard Morse wrote: > Hi! I'm trying to track down an odd problem, for which it would be > very useful to be able to have the computer keep track of every > process that gets created -- ie, keep a list of every fork / exec that > occurs. Is this possible? Yes, it is possible. This is part of what `process accounting' does. Look at the manpages of accton(8), lastcomm(1); then check the accounting_enable knob in rc.conf(5) and /etc/defaults/rc.conf