From owner-freebsd-questions@FreeBSD.ORG Mon Apr 27 17:26:31 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 0E5B110656A6 for ; Mon, 27 Apr 2009 17:26:31 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout014.mac.com (asmtpout014.mac.com [17.148.16.89]) by mx1.freebsd.org (Postfix) with ESMTP id EB3218FC1B for ; Mon, 27 Apr 2009 17:26:30 +0000 (UTC) (envelope-from cswiger@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KIR001CGSFLG4A0@asmtp014.mac.com> for freebsd-questions@freebsd.org; Mon, 27 Apr 2009 10:26:15 -0700 (PDT) From: Chuck Swiger To: Zbigniew Szalbot In-reply-to: <8cd58619e76c0c29e71202b9bd880a3f.squirrel@relay.lc-words.com> X-Priority: 3 (Normal) References: <8cd58619e76c0c29e71202b9bd880a3f.squirrel@relay.lc-words.com> Message-id: Date: Mon, 27 Apr 2009 10:26:09 -0700 X-Mailer: Apple Mail (2.930.3) Cc: FreeBSD - Subject: Re: mysql hiding from top 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, 27 Apr 2009 17:26:32 -0000 On Apr 27, 2009, at 10:22 AM, Zbigniew Szalbot wrote: > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND [ ... ] > 32906 mysql 37 4 0 76636K 41664K sbwait 1 0:00 0.10% > mysqld > > It does appear at times but it is showing 0:00 TIME. But compare it > to the > same mysql pid below: > > $ ps ax |grep mysql > 32906 p0- S 1:41.77 /usr/local/libexec/mysqld > > This is what I find strange... :) Ah-- I've heard rumors that top or something doesn't handle accounting for CPU time used by multithreaded processes very well... -- -Chuck