From owner-freebsd-questions@FreeBSD.ORG Mon Sep 11 22:44:40 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 B0BD116A412 for ; Mon, 11 Sep 2006 22:44:40 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07F5943D62 for ; Mon, 11 Sep 2006 22:44:38 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.6/8.13.6) id k8BMiYDl096070; Mon, 11 Sep 2006 17:44:34 -0500 (CDT) (envelope-from dan) Date: Mon, 11 Sep 2006 17:44:34 -0500 From: Dan Nelson To: Nestor Wheelock Message-ID: <20060911224434.GA58979@dan.emsphone.com> References: <20060911221120.K2564@mingus.eyedotmind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060911221120.K2564@mingus.eyedotmind.com> X-OS: FreeBSD 6.1-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-questions@freebsd.org Subject: Re: just what does kserel mean? 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, 11 Sep 2006 22:44:40 -0000 In the last episode (Sep 11), Nestor Wheelock said: > I have searched all over the net for a good definition of what the top > state, "kserel" means. When I run mysql this is the state in which it > runs. > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 2117 mysql 17 20 0 323M 59080K kserel 0 0:02 0.00% mysqld That's just a wait state used inside libkse threads meaning a thread is waiting for something to do. Note that for a threaded program, the STATE seen by top is that of only one thread owned by the process. Press 'H' to see each thread on its own line. -- Dan Nelson dnelson@allantgroup.com