Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2009 10:26:09 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Zbigniew Szalbot <z.szalbot@lcwords.com>
Cc:        FreeBSD - <freebsd-questions@freebsd.org>
Subject:   Re: mysql hiding from top
Message-ID:  <FAE5093F-EB99-4290-8148-658ECEC6680C@mac.com>
In-Reply-To: <8cd58619e76c0c29e71202b9bd880a3f.squirrel@relay.lc-words.com>
References:  <dbdfb102e213cc2923eb75a56243dac7.squirrel@relay.lc-words.com> <F6AEC314-735B-4F52-8770-81F0E1661C09@mac.com> <8cd58619e76c0c29e71202b9bd880a3f.squirrel@relay.lc-words.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FAE5093F-EB99-4290-8148-658ECEC6680C>