From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 13 14:21:59 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 DF14616A4CE; Sun, 13 Feb 2005 14:21:59 +0000 (GMT) Received: from smtp-1.dlr.de (smtp-1.dlr.de [195.37.61.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CBA343D49; Sun, 13 Feb 2005 14:21:59 +0000 (GMT) (envelope-from Hartmut.Brandt@dlr.de) Received: from beagle.kn.op.dlr.de ([129.247.173.6]) by smtp-1.dlr.de over TLS secured channel with Microsoft SMTPSVC(5.0.2195.6713); Sun, 13 Feb 2005 15:21:58 +0100 Date: Sun, 13 Feb 2005 15:25:17 +0100 (CET) From: Harti Brandt X-X-Sender: brandt_h@beagle.kn.op.dlr.de To: Willem Jan Withagen In-Reply-To: <420F5A25.9060603@withagen.nl> Message-ID: <20050213152406.L36779@beagle.kn.op.dlr.de> References: <20050202124154.Q11339@beagle.kn.op.dlr.de> <420F5A25.9060603@withagen.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 13 Feb 2005 14:21:58.0442 (UTC) FILETIME=[607DB8A0:01C511D7] 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 Reply-To: Harti Brandt 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 14:22:00 -0000 On Sun, 13 Feb 2005, Willem Jan Withagen wrote: WJW>Harti Brandt wrote: WJW>> On Wed, 2 Feb 2005, Robert Watson wrote: WJW>> WJW>> RW> WJW>> RW>On Wed, 2 Feb 2005, Borja Marcos wrote: WJW>> RW> WJW>> RW>> I'm not sure about the correct values in the process description WJW>> RW>> to get a picture as accurate as possible of the cpu usage of WJW>> different WJW>> RW>> processes. I've seen that top uses p_runtime (FreeBSD 5 and FreeBSD WJW>> 4), WJW>> RW>> but I'm not sure if the value would be really useful. RW> WJW>> RW>This is very cool. :-) How are you currently extracting the WJW>> information? RW>One of the things I've wanted to do for a while is make WJW>> sure all this sort WJW>> RW>of thing is exposed via snmpd so that the information can be gathered WJW>> RW>easily across a large number of hosts (say, 10,000). WJW>> WJW>> That could be a nice JUH (junior userspace hacker's) task to add a module WJW>> to bsnmp. WJW> WJW>net-snmp is able to run arbitrary external code to obtain values to be WJW>monitored, and it seem to be able to use modules (haven't used them yet). I know. But on the other hand net-snmp is huge while bsnmp is in the base system. harti WJW> WJW>I've been using net-snmp/mrtg already for as long as I can remember to WJW>monitor load and diskspace. Processes and other things with MRTG are IMHO WJW>sort of troublesome since sample period is 5 minutes. And most processes WJW>that outlive that timespan are kernel/daemon processes. WJW> WJW>What I like about Borja's stuff is that he is able to plot more that just 2 WJW>params in 1 graph. WJW> WJW>--WjW WJW> WJW> WJW>