From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 13 13:46:19 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D6DA16A4CE; Sun, 13 Feb 2005 13:46:19 +0000 (GMT) Received: from freebee.digiware.nl (dsl439.iae.nl [212.61.63.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3B1E43D1D; Sun, 13 Feb 2005 13:46:17 +0000 (GMT) (envelope-from wjw@withagen.nl) Received: from [212.61.27.71] (dual.digiware.nl [212.61.27.71]) by freebee.digiware.nl (8.13.1/8.13.1) with ESMTP id j1DDkECE076864; Sun, 13 Feb 2005 14:46:15 +0100 (CET) (envelope-from wjw@withagen.nl) Message-ID: <420F5A25.9060603@withagen.nl> Date: Sun, 13 Feb 2005 14:46:13 +0100 From: Willem Jan Withagen User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Harti Brandt References: <20050202124154.Q11339@beagle.kn.op.dlr.de> In-Reply-To: <20050202124154.Q11339@beagle.kn.op.dlr.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: Robert Watson cc: Borja Marcos Subject: Re: Devilator - performance monitoring for FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Feb 2005 13:46:19 -0000 Harti Brandt wrote: > On Wed, 2 Feb 2005, Robert Watson wrote: > > RW> > RW>On Wed, 2 Feb 2005, Borja Marcos wrote: > RW> > RW>> I'm not sure about the correct values in the process description > RW>> to get a picture as accurate as possible of the cpu usage of different > RW>> processes. I've seen that top uses p_runtime (FreeBSD 5 and FreeBSD 4), > RW>> but I'm not sure if the value would be really useful. > RW> > RW>This is very cool. :-) How are you currently extracting the information? > RW>One of the things I've wanted to do for a while is make sure all this sort > RW>of thing is exposed via snmpd so that the information can be gathered > RW>easily across a large number of hosts (say, 10,000). > > That could be a nice JUH (junior userspace hacker's) task to add a module > to bsnmp. net-snmp is able to run arbitrary external code to obtain values to be monitored, and it seem to be able to use modules (haven't used them yet). I've been using net-snmp/mrtg already for as long as I can remember to monitor load and diskspace. Processes and other things with MRTG are IMHO sort of troublesome since sample period is 5 minutes. And most processes that outlive that timespan are kernel/daemon processes. What I like about Borja's stuff is that he is able to plot more that just 2 params in 1 graph. --WjW