From owner-freebsd-questions@FreeBSD.ORG Thu Aug 10 10:55:33 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 B545616A4DF for ; Thu, 10 Aug 2006 10:55:33 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5987843DA9 for ; Thu, 10 Aug 2006 10:55:17 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 2E7F85C6D; Thu, 10 Aug 2006 06:55:17 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oH2dehYL4Vhl; Thu, 10 Aug 2006 06:55:16 -0400 (EDT) Received: from [192.168.1.251] (pool-68-161-117-245.ny325.east.verizon.net [68.161.117.245]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id CD51D5C67; Thu, 10 Aug 2006 06:55:15 -0400 (EDT) Message-ID: <44DB1089.3080307@mac.com> Date: Thu, 10 Aug 2006 06:55:05 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Roberto Nunnari References: <44DAD47B.3030600@supsi.ch> <44DAF7D7.6000608@supsi.ch> In-Reply-To: <44DAF7D7.6000608@supsi.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 10:55:33 -0000 Roberto Nunnari wrote: > Stefan Bethke wrote: [ ... ] >> 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 could set up process accounting as documented here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/security-accounting.html -- -Chuck