From owner-cvs-src-old@FreeBSD.ORG Tue Nov 23 21:37:58 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D29BA106566B for ; Tue, 23 Nov 2010 21:37:58 +0000 (UTC) (envelope-from uqs@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A4E638FC08 for ; Tue, 23 Nov 2010 21:37:58 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oANLbwXu007559 for ; Tue, 23 Nov 2010 21:37:58 GMT (envelope-from uqs@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oANLbwb2007558 for cvs-src-old@freebsd.org; Tue, 23 Nov 2010 21:37:58 GMT (envelope-from uqs@repoman.freebsd.org) Message-Id: <201011232137.oANLbwb2007558@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to uqs@repoman.freebsd.org using -f From: Ulrich Spoerlein Date: Tue, 23 Nov 2010 21:36:53 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/contrib/bsnmp/snmpd bsnmpd.1 src/usr.sbin/bsnmpd/modules/snmp_hostres hostres_processor_tbl.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2010 21:37:58 -0000 uqs 2010-11-23 21:36:53 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) contrib/bsnmp/snmpd bsnmpd.1 usr.sbin/bsnmpd/modules/snmp_hostres hostres_processor_tbl.c Log: SVN rev 215774 on 2010-11-23 21:36:53Z by uqs MFC r214237,214489: Remove mention of non-existant -o flag for debugging options. Fix CPU load reporting independent of scheduler used. - Sample CPU usage data from kern.cp_times, this makes for a far more accurate and scheduler independent algorithm. - Rip out the process list scraping that is no longer required. - Don't update CPU usage sampling on every request, but every 15s instead. This makes it impossible for an attacker to hide the CPU load by triggering 4 samplings in short succession when the system is idle. - After reaching the steady-state, the system will always report the average CPU load of the last 60 sampled seconds. - Untangling of call graph. Revision Changes Path 1.1.1.7.10.2 +3 -5 src/contrib/bsnmp/snmpd/bsnmpd.1 1.6.10.2 +129 -205 src/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_processor_tbl.c