Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2007 13:45:23 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Zbigniew Szalbot <zbigniew@szalbot.homedns.org>
Cc:        Freebsd questions <freebsd-questions@freebsd.org>
Subject:   Re: logging system load
Message-ID:  <20070725134523.47efabb7.wmoran@potentialtech.com>
In-Reply-To: <45aa0f1ea2aa8ccfedf482bc63ea8723@szalbot.homedns.org>
References:  <45aa0f1ea2aa8ccfedf482bc63ea8723@szalbot.homedns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to Zbigniew Szalbot <zbigniew@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



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