Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Mar 2009 07:44:23 +0100
From:      Polytropon <freebsd@edvax.de>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Status field STATE in top(1) interactive mode
Message-ID:  <20090307074423.640ec208.freebsd@edvax.de>

next in thread | raw e-mail | index | archive | help
Hi list,

in order to find out why Opera often keeps hanging (doing nothing),
often for several minutes, I checked its top(1) output.

Reading "man top", I found the following explaination:

	[...] STATE is the current state (one of "START", "RUN"
	(shown as "CPUn" on SMP systems), "SLEEP", "STOP", "ZOMB",
	"WAIT", "LOCK"  or  the  event  on  which  the  process
	waits) [...]

When Opera just hangs(TM) :-), it is in one of the states "ucond"
or "umtxn" - and sucking up to 100% WCPU.

Here is my question: Is there an explainative list that gives a
clue about what this state indicates? Where are these "event[s]
on which the process waits" documented?

When I could guess, then I'd say that "ucond" means "unconditioned",
"in no condition" (which would be a very strage state - the absense
of any state), and "umtxn"... um... USB mass storage transmit number?
No idea.

Other states that I see have a more descriptive name, such as "pause",
"select" or "getblk" and even "kqread".

Setting: I have opera-9.63.20081215_1 on OS 7-STABE from August 2008.



Thank you!



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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