From owner-freebsd-questions@FreeBSD.ORG Sun Nov 16 14:34:12 2008 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 2F0D81065672 for ; Sun, 16 Nov 2008 14:34:12 +0000 (UTC) (envelope-from OttK@zzz.ee) Received: from zzz.ee (kalah.zzz.ee [194.204.30.253]) by mx1.freebsd.org (Postfix) with ESMTP id E599B8FC12 for ; Sun, 16 Nov 2008 14:34:11 +0000 (UTC) (envelope-from OttK@zzz.ee) Received: by zzz.ee (Postfix, from userid 3019) id DF1F1FD0A9; Sun, 16 Nov 2008 16:34:10 +0200 (EET) X-Spam-Checker-Version: SpamAssassin on spamassassin.zzz.ee X-Spam-Level: **** X-Spam-Guessed-Language: X-Spam-Status: No, score=4.1 required=5.0 tests=BAYES_55,RDNS_DYNAMIC, SPF_SOFTFAIL X-Spam-Checker-URL: http://info.zzz.ee Received: from [192.168.1.64] (87-119-181-26.tll.elisa.ee [87.119.181.26]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by zzz.ee (Postfix) with ESMTPS id 615BEFD0C8 for ; Sun, 16 Nov 2008 16:34:07 +0200 (EET) Message-ID: <49202F59.7050802@zzz.ee> Date: Sun, 16 Nov 2008 16:34:01 +0200 From: =?ISO-8859-1?Q?Ott_K=F6stner?= Organization: TIGMA AS User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: top incorrectly reporting process time 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: Sun, 16 Nov 2008 14:34:12 -0000 Hello, On several FreeBSD machines I have the following problem: # top -bUmysql last pid: 99112; load averages: 0.22, 0.12, 0.09 up 2+06:07:05 16:17:43 132 processes: 1 running, 131 sleeping Mem: 718M Active, 2494M Inact, 455M Wired, 77M Cache, 214M Buf, 213M Free Swap: 4096M Total, 4096M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1079 mysql 9 20 0 81564K 60268K sigwai 1 0:01 0.00% mysqld ^^^^^^^ ------------------------------------------------------------------------------------------------------------ 1015 mysql 1 8 0 7056K 1368K wait 1 0:00 0.00% sh However mysqld time is actually # ps -ax|grep mysql 1015 con- I 0:00.01 /bin/sh /usr/local/bin/mysqld_safe --defaults-extra-file=/var/db/mysql/my.cnf 1079 con- S 70:03.64 [mysqld] ^^^^^^^^^^^ ------------------------------------------------------------------------------------------------------------ 99156 p0 S+ 0:00.00 grep mysql Anyone who can explain this? With greetings, Ott Köstner