From owner-freebsd-questions@FreeBSD.ORG Thu Aug 10 09:34:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA55216A4E0 for ; Thu, 10 Aug 2006 09:34:00 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [213.238.47.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27F8743D5C for ; Thu, 10 Aug 2006 09:33:59 +0000 (GMT) (envelope-from stb@lassitu.de) Received: (from stb@koef.zs64.net) (authenticated) by koef.zs64.net (8.13.7/8.13.7) with ESMTP id k7A9XlUO014167 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Thu, 10 Aug 2006 11:33:57 +0200 (CEST) (envelope-from stb@lassitu.de) In-Reply-To: <44DAF7D7.6000608@supsi.ch> References: <44DAD47B.3030600@supsi.ch> <44DAF7D7.6000608@supsi.ch> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <8456CA11-8076-45EF-B5A8-E79319C22D4A@lassitu.de> Content-Transfer-Encoding: 7bit From: Stefan Bethke Date: Thu, 10 Aug 2006 11:33:46 +0200 To: Roberto Nunnari X-Mailer: Apple Mail (2.752.2) Cc: "'freebsd-questions@freebsd.org'" Subject: Re: top: what processes use the CPU? 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: Thu, 10 Aug 2006 09:34:00 -0000 Am 10.08.2006 um 11:09 schrieb Roberto Nunnari: > Stefan Bethke wrote: >> Am 10.08.2006 um 08:38 schrieb Roberto Nunnari: >>> Hello everybody. >>> >>> Just a short question: Why top doesn't any more show what >>> processes use the CPU? I mean.. 0.0% idle and the sum of the >>> processes CPU doesn't reach 1.0%.. >>> >>> as an example, while make buildkernel top shows: >> Because the cc processes are too short lived to consistently show >> up when top is scanning the process table? > > Ok.. but as idle CPU shows 0.0%, there should be a way of getting > the processes that finished already living but caused that 0.0% idle.. > > What if your users are running lot of short lived processes? > How can you find them out? You can't with current FreeBSD tools. Efforts are underway to port DTrace from Solaris, which allows gathering information like this, among many other interesting things. Stefan -- Stefan Bethke Fon +49 170 346 0140