From owner-freebsd-current@FreeBSD.ORG Sun Mar 14 13:39:03 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E49F116A4CE for ; Sun, 14 Mar 2004 13:39:03 -0800 (PST) Received: from memphis.mephi.ru (memphis.mephi.ru [194.67.67.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id E227A43D3F for ; Sun, 14 Mar 2004 13:39:02 -0800 (PST) (envelope-from timon@memphis.mephi.ru) Received: from [192.168.0.3] (ppp8-4.pppoe.mtu-net.ru [81.195.8.4]) (authenticated bits=0) by memphis.mephi.ru (8.12.6p2/8.12.6) with ESMTP id i2ELckxx020082; Mon, 15 Mar 2004 00:38:47 +0300 (MSK) (envelope-from timon@memphis.mephi.ru) From: Artem Ignatiev To: Dan Nelson In-Reply-To: <20040314213136.GA27939@dan.emsphone.com> References: <1079276960.918.14.camel@timon.nist> <20040314213136.GA27939@dan.emsphone.com> Content-Type: text/plain Message-Id: <1079300313.918.26.camel@timon.nist> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 15 Mar 2004 00:38:33 +0300 Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: broken top stats X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 21:39:04 -0000 On Sun, 15.03.2004, at 00:31, Dan Nelson wrote: > There is a bug in the kernel threads code that does not total up all > the kthread's CPU stats when a program asks for just process stats. It > just pulls the first one. If you hit 'H', you should see some extra > threads for each of those 0-cpu processes, and they should have > non-zero CPU. Also, SCHED_ULE doesn't update WCPU at all (it just > copies CPU). Nah, I've still got non-zero cpu in first line, and zero cpu in others.