Fwd: top(1) STATE column

2006-09-18 Thread Valerio daelli

They're only documented in the source, as far as I know.  A quick grep
comes up with around 300 different unique waits and mutexes in the
kernel:


Try searching this mail from freebsd-questions:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1251488+0+archive/2006/freebsd-questions/20060618.freebsd-questions

the subject says it all
Hope it helps

Valerio Daelli
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


top(1) STATE column

2006-09-16 Thread Pietro Cerutti

Hi List,
I'd like to know the meaning of the possible STATEs showing up in top.
In the manual pages I found this:

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)

Where can I found info about other possible states (nanslp, kserel,
ttyin, ucond, sbwait, ...) that I usually see in top?

I think these have to do with the the  event  on which the process
waits part of the man page... isn't there any complete list on those?

Thanx, regards
--
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
against HTML e-mail and
proprietary attachments
  www.asciiribbon.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: top(1) STATE column

2006-09-16 Thread Dan Nelson
In the last episode (Sep 16), Pietro Cerutti said:
 I'd like to know the meaning of the possible STATEs showing up in
 top. In the manual pages I found this:
 
   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)
 
 Where can I found info about other possible states (nanslp, kserel,
 ttyin, ucond, sbwait, ...) that I usually see in top?
 
 I think these have to do with the the event on which the process
 waits part of the man page... isn't there any complete list on
 those?

They're only documented in the source, as far as I know.  A quick grep
comes up with around 300 different unique waits and mutexes in the
kernel:

find /sys -name *.c | xargs grep 'sleep(.*.*' | sed -e 
's/^.*\\(.*\)\.*$/\1/' | sort -u | wc -l

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]