Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2005 17:41:05 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Richard Morse <remorse@partners.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Any way to log all process launches?
Message-ID:  <20050408144104.GA75094@orion.daedalusnetworks.priv>
In-Reply-To: <0C6023A0-A83B-11D9-B765-000A956EB07E@partners.org>
References:  <0C6023A0-A83B-11D9-B765-000A956EB07E@partners.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-04-08 10:32, Richard Morse <remorse@partners.org> 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



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