From owner-freebsd-questions@FreeBSD.ORG Thu Sep 4 00:21:06 2003 Return-Path: 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 DB3DE16A4BF for ; Thu, 4 Sep 2003 00:21:06 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1417E43FB1 for ; Thu, 4 Sep 2003 00:21:06 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h847L4Ab081389; Thu, 4 Sep 2003 02:21:04 -0500 (CDT) (envelope-from dan) Date: Thu, 4 Sep 2003 02:21:04 -0500 From: Dan Nelson To: Shrikant Message-ID: <20030904072104.GG98381@dan.emsphone.com> References: <000801c372b2$9b4a0350$0106000a@windomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000801c372b2$9b4a0350$0106000a@windomain> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: Different states in "TOP" ..... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2003 07:21:07 -0000 In the last episode (Sep 04), Shrikant said: > When i do "TOP" i see many process in raltime ,I would like to know > the description of different "STATE"'s in the "STATE" column. Where > will i get this info .PLs give me a link . The state column shows RUN for running processes, and for sleeping processes, it shows the sleep string (or mutex name if there's an * in front). There is no official table of them since there are so many (and they are dynamic; a kernel module may add more). "find /sys -type f | xargs grep msleep" will print most of the sleep strings, and "find /sys -type f | xargs grep mtx_init" should print the mutex names. -- Dan Nelson dnelson@allantgroup.com