Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2001 18:42:56 -0500
From:      Mike Meyer <mwm@mired.org>
To:        "R. Lahaye" <lahaye@users.sourceforge.net>
Cc:        questions@freebsd.org
Subject:   Re: top command: STATE info unclear
Message-ID:  <15219.8192.934981.217913@guru.mired.org>
In-Reply-To: <117114195@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
R. Lahaye <lahaye@users.sourceforge.net> 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.

	<mike
--
Mike Meyer <mwm@mired.org>			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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15219.8192.934981.217913>