From owner-freebsd-questions@FreeBSD.ORG Fri Feb 8 16:46:24 2008 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 7E26116A41A for ; Fri, 8 Feb 2008 16:46:24 +0000 (UTC) (envelope-from devanand_sp@yahoo.com) Received: from n2.bullet.mail.re3.yahoo.com (n2.bullet.mail.re3.yahoo.com [68.142.237.109]) by mx1.freebsd.org (Postfix) with SMTP id 04E4B13C45E for ; Fri, 8 Feb 2008 16:46:23 +0000 (UTC) (envelope-from devanand_sp@yahoo.com) Received: from [68.142.230.28] by n2.bullet.mail.re3.yahoo.com with NNFMP; 08 Feb 2008 08:30:41 -0000 Received: from [216.252.122.217] by t1.bullet.re2.yahoo.com with NNFMP; 08 Feb 2008 16:33:14 -0000 Received: from [69.147.84.88] by t2.bullet.sp1.yahoo.com with NNFMP; 08 Feb 2008 16:33:14 -0000 Received: from [127.0.0.1] by omp204.mail.sp1.yahoo.com with NNFMP; 08 Feb 2008 16:33:14 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 651487.84236.bm@omp204.mail.sp1.yahoo.com Received: (qmail 53214 invoked by uid 60001); 8 Feb 2008 16:33:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=sBhTEmVOIoeAwofVI0fVPwmHE3hf++SDdGOsQEks8Aa4nBKuDpLADr1GVWPdPVKODDrLCE8hy4TkMi+ab+mmtWgjcTi04zXcNygjFExu48SrBgpuJM3Ba2yJ1bTVV9dEubQlaZA1Tj+TQTW5E+1RvFFUJgIgUfDV0eJYuaE/prw=; X-YMail-OSG: EasdMOsVM1kvwnga1otNUpsypEOJN5G.8xh9deQRcwlSK31iFIco0.AIhSTCB5L1zTjC0q43hu5tfJuQaqcyLZG2byuyFqn9E3SWzxcZy5aNESmhUiUeSPy_epOd4Q-- Received: from [203.83.248.37] by web45110.mail.sp1.yahoo.com via HTTP; Fri, 08 Feb 2008 08:33:14 PST X-Mailer: YahooMailRC/818.31 YahooMailWebService/0.7.162 Date: Fri, 8 Feb 2008 08:33:14 -0800 (PST) From: Devanand SP To: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-ID: <559446.52619.qm@web45110.mail.sp1.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How to find CPU IDLE Percentage on SMP (Dual processor Host) 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: Fri, 08 Feb 2008 16:46:24 -0000 Hi Everyone, I am using a FreeBSD version 4.11 for running my BIND. I am in a need of setting up an audit for the CPU Utilization on my resolvers and have a query about finding the CPU IDLE percentage on a DUAL processor hosts. As the BIND binary uses only the first processor, the second CPU most of the time not used by BIND. So in this case the in built system utilities like top or sar does average the CPU IDLE percentage by adding up the First CPU's IDLE % + Second CPU's IDLE % /2. This in turn will give me a wrong result. So can someone suggest me on how I can get the right CPU IDLE %? Thanks. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ