Finding out what ran when...

Bill Moran wmoran at potentialtech.com
Wed Aug 4 08:51:26 PDT 2004


"Steve Bertrand" <iaccounts at 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


More information about the freebsd-questions mailing list