Finding out what ran when...

Steve Bertrand iaccounts at ibctech.ca
Wed Aug 4 10:08:11 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)

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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>




More information about the freebsd-questions mailing list