From owner-freebsd-questions Thu Aug 9 16:43: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id 88EDD37B401 for ; Thu, 9 Aug 2001 16:42:57 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 86273 invoked by uid 100); 9 Aug 2001 23:42:57 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15219.8192.934981.217913@guru.mired.org> Date: Thu, 9 Aug 2001 18:42:56 -0500 To: "R. Lahaye" Cc: questions@freebsd.org Subject: Re: top command: STATE info unclear In-Reply-To: <117114195@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG R. Lahaye types: > Hi, > > On my FreeBSD 4.3 machine, I try to understand the STATE column. > The 'man top' says somewhere: > > [...] > STATE is the current state (one of "sleep", "WAIT", "run", > "idl", "zomb", or "stop") > [...] > > However, this does not at all match with the actual states in the > STATE column of the 'top' command: > > RUN, select, mfsidl, nanslp, piperd, wait, ttyin, poll > Apparently the man pages of the 'top' command are not synchronized with > the actual command. How can I find out what the STATE items mean? It looks like the STATE column has been changed to replace WAIT with the actual wait channel. While this is more useful, it can be confusing. > For example: top says that I have one zombie process, but I can't find > out in the STATE column which process is zombie. top is the wrong tool for finding specific processes. David already gave you the appropriate magic to use with ps to find the zombie. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message