logging system load

Bill Moran wmoran at potentialtech.com
Wed Jul 25 17:45:28 UTC 2007


In response to Zbigniew Szalbot <zbigniew at szalbot.homedns.org>:

> 
> 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!

If top's output suits your needs, you could write a script that runs top
in a loop and redirects to a file during the time in question.

If you want longer-term monitoring, something like MRTG or Cacti might
fit you better.

-- 
Bill Moran
http://www.potentialtech.com


More information about the freebsd-questions mailing list