From owner-freebsd-questions@FreeBSD.ORG Wed Aug 4 15:51:26 2004 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 1984016A4D0 for ; Wed, 4 Aug 2004 15:51:26 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id E352743D5D for ; Wed, 4 Aug 2004 15:51:25 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) by internet.potentialtech.com (Postfix) with ESMTP id 0133869A71; Wed, 4 Aug 2004 11:51:24 -0400 (EDT) Date: Wed, 4 Aug 2004 11:51:23 -0400 From: Bill Moran To: "Steve Bertrand" Message-Id: <20040804115123.2865e826.wmoran@potentialtech.com> In-Reply-To: <2169.209.167.16.15.1091629376.squirrel@209.167.16.15> References: <2169.209.167.16.15.1091629376.squirrel@209.167.16.15> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Finding out what ran when... 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: Wed, 04 Aug 2004 15:51:26 -0000 "Steve Bertrand" wrote: > I have rrdtool plotting graphs for me for system performance, memory, > cpu etc, and about 4:30 AM, my cpu utilization goes through the roof. > > I know this is amanda (backup) doing this as it runs at this time, but > I am curious to know if there are any utilities that can *watch* the > system at night and report what did what and when. > > Perhaps something that can report if something uses xx% of cpu, or > xxMB of memory? Sounds like you want process accounting. Check out the man pages for acct(2), accton(8), sa(8) and lastcomm(1) -- Bill Moran Potential Technologies http://www.potentialtech.com