From owner-freebsd-questions@FreeBSD.ORG Wed Jul 25 17:45:28 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66A7D16A41A for ; Wed, 25 Jul 2007 17:45:27 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id DCFB113C46C for ; Wed, 25 Jul 2007 17:45:25 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 78BD9EBC78; Wed, 25 Jul 2007 13:45:24 -0400 (EDT) Date: Wed, 25 Jul 2007 13:45:23 -0400 From: Bill Moran To: Zbigniew Szalbot Message-Id: <20070725134523.47efabb7.wmoran@potentialtech.com> In-Reply-To: <45aa0f1ea2aa8ccfedf482bc63ea8723@szalbot.homedns.org> References: <45aa0f1ea2aa8ccfedf482bc63ea8723@szalbot.homedns.org> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.11; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Freebsd questions Subject: Re: logging system load X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2007 17:45:28 -0000 In response to 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! 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