From owner-freebsd-questions@FreeBSD.ORG Wed Aug 4 17:08:11 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 ADB0516A4CE for ; Wed, 4 Aug 2004 17:08:11 +0000 (GMT) Received: from pearl.ibctech.ca (dev.eagle.ca [209.167.58.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DBCC43D6B for ; Wed, 4 Aug 2004 17:08:09 +0000 (GMT) (envelope-from iaccounts@ibctech.ca) Received: (qmail 5641 invoked by uid 1002); 4 Aug 2004 17:08:20 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (clamscan: 0.73. spamassassin: 2.63. Clear:RC:1(127.0.0.1):. Processed in 1.231757 secs); 04 Aug 2004 17:08:20 -0000 Received: from unknown (HELO webmail.ibctech.ca) (127.0.0.1) by localhost.ibctech.ca with SMTP; 4 Aug 2004 17:08:19 -0000 Received: from 209.167.16.15 (SquirrelMail authenticated user steve@ibctech.ca); by webmail.ibctech.ca with HTTP; Wed, 4 Aug 2004 13:08:19 -0400 (EDT) Message-ID: <2331.209.167.16.15.1091639299.squirrel@209.167.16.15> In-Reply-To: <20040804115123.2865e826.wmoran@potentialtech.com> References: <2169.209.167.16.15.1091629376.squirrel@209.167.16.15> <20040804115123.2865e826.wmoran@potentialtech.com> Date: Wed, 4 Aug 2004 13:08:19 -0400 (EDT) From: "Steve Bertrand" To: "Bill Moran" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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 17:08:11 -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) Excellent, this is exactly what I was looking for. Thanks very much Bill. Cheers! Steve > > -- > Bill Moran > Potential Technologies > http://www.potentialtech.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >