From owner-freebsd-questions@FreeBSD.ORG Mon Nov 2 21:22:36 2009 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 66E631065672 for ; Mon, 2 Nov 2009 21:22:36 +0000 (UTC) (envelope-from chrisstankevitz@yahoo.com) Received: from web52911.mail.re2.yahoo.com (web52911.mail.re2.yahoo.com [206.190.49.21]) by mx1.freebsd.org (Postfix) with SMTP id 0AE258FC36 for ; Mon, 2 Nov 2009 21:22:35 +0000 (UTC) Received: (qmail 32828 invoked by uid 60001); 2 Nov 2009 21:22:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1257196955; bh=2JVady9SMBemh6dN64EKWofkJwDcYvXnhZYcMZzswZ0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=3R7q9boNN3PO5oOEVgSJNi/sHQTB3wKXHJ+OfjX0pyf3uo8DAk4FvnKp8oB4aWvaycaem9BT5lY5L/qQ3Uf5GRsXKQ8pSb45Agu7HQmTIlF1H/0vD4T/lsyt4hey7n2L90tXyaUMJQQE6Bap3Xe01K/4SzNNj529XfVQRZL11YY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=a3yjYBH3g0PemYpSA254dl8w4EpFjuuxs1JipqAGTzyX7O0NEKq7cDAjdbFTcJs1HqAiUXLMqnyEfsLrkeKBF0MgdhunlXXjzHPrEqn6tho7JUP3Y1Yl+1+xRpY91ez4Zb9Vad4qZpq0koUkWhmSpIFMNpCrkAyMvm3WG/rjZvY=; Message-ID: <330157.31913.qm@web52911.mail.re2.yahoo.com> X-YMail-OSG: R4mePQ8VM1kqDxlxSRUgOK7oyyGduPnWLzfjB7j7FUJTov9QO8mCqhWYGeY_8g8G7BmemdJe.nWmzSAgb6TQXa99xWxxSI.7r6pzKO4_BfdPQFiiRgTi4ObkiVpUJTSmhXc4gd7GWQb3HL57SoWxEH7pklJYgKYb2PAoSX8JYdS34zd7UlFexIH5RncGf2dsDWUe5zlxDqa2omumwJ_eajcaTx3dGpnQuVs.Q1841RxTgLsLUrOV0lrhKZ.yquCn32d4A8LT7P6pumZ9aCh8kSwooUZEcz5WAfLWd5_zxiF8N8fWEoNwj3dS0BHm2UIOObWZ.0v4FQJNIYIbkUOMQYNNWCeDkPvTuk.c6CHyizKjee4Nk9Y8ifA3rgRCX_SaePFsFOO1yWFSzRH4tzIKAWAXLqS4ZzngiClP33_d4_ICIZCEYGv6ETW5k8t3s.czEQaFQHVB4UhqWGD6FJytZWz._ctNqaIKawsS.hCYuWSp Received: from [206.190.77.154] by web52911.mail.re2.yahoo.com via HTTP; Mon, 02 Nov 2009 13:22:35 PST X-Mailer: YahooMailClassic/7.0.14 YahooMailWebService/0.7.361.4 Date: Mon, 2 Nov 2009 13:22:35 -0800 (PST) From: Chris Stankevitz To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: please help me make sense of top's CPU output 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: Mon, 02 Nov 2009 21:22:36 -0000 Hello, I recently performed a CPU intensive task with Xorg. When I completed the task and Xorg no longer was using the CPU, I got this result from top: === last pid: 1201; load averages: 0.24, 0.10, 0.09 up 0+00:29:42 63 processes: 1 running, 62 sleeping CPU: 1.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 99.0% idle Mem: 161M Active, 67M Inact, 68M Wired, 1240K Cache, 41M Buf, 1676M Free Swap: 4060M Total, 4060M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME CPU 1017 cstankevitz 1 104 0 366M 331M select 0 3:25 35.89% Xorg === Note that the "CPU" row reports 99% idle. Note that the "CPU" column reports 36% Xorg I have two questions: 1. Why do these two numbers seem to not agree? One reports the CPU is not being used, the other reports Xorg is using the CPU. 2. How can I change my system so that these two numbers seem to agree? Thank you, Chris PS: conky does the same thing -- I assume this means the seemingly disagreeing numbers are coming from the FreeBSD kernel.