logging system load

Hugo Silva hugo at barafranca.com
Thu Aug 2 12:27:15 UTC 2007


Nikos Vassiliadis wrote:
> On Wednesday 25 July 2007 20:50, Momchil Ivanov wrote:
>   
>> На Wednesday 25 July 2007 19:38:41 Zbigniew Szalbot написа:
>>     
>>> Dear all,
>>>
>>> Is there a tool similar to top which would measure system load and
>>> write it to a file that could later be analyzed? The time when my
>>> system is most loaded happens between 3 and 5 a.m. so a trace of the
>>> system load would be a wonderful thing to have. I need it to tailor
>>> some of the jobs accordingly. Any advice?
>>>
>>> Thanks in advance!
>>>       
>> You can make a cronjob doing "uptime >> /path/to/logfile" every minute
>>     
>
> Or perhaps "sysctl -n vm.loadavg" instead of uptime,
> which is the same information, but requires less
> scrubbing.
>
> Nikos
> _______________________________________________
> 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"
>   

See bsdsar in the ports.



More information about the freebsd-questions mailing list