Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Aug 2004 11:51:23 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        "Steve Bertrand" <iaccounts@ibctech.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Finding out what ran when...
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>

next in thread | previous in thread | raw e-mail | index | archive | help
"Steve Bertrand" <iaccounts@ibctech.ca> 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



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