DragonFly kernel List (threaded) for 2007-03
DragonFly BSD
DragonFly kernel List (threaded) for 2007-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: proc states


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Thu, 22 Mar 2007 13:06:11 +0100

Hello Dmitry,

Dmitry Lohansky wrote:
I'm newby in DragonFly.
My question why process doesn't have SSLEEP state?

processes are no scheduling entities any more.  lwps are being
scheduled.  therefore only a lwp can be in LSSLEEP state.

Gm..


This mean that top will always show sleeping processes as running.
Is this correct?

no, because there are no sleeping processes, per se. only sleeping lwps. of course if there is only one lwp per process (100% of the time right now), this would effectively be a process sleeping.


if you are interested, top/ps could use some work on the lwp/proc area. it shouldn't be too complicated, as lwp status is already being exported. basically it's just a matter of merging lwp and proc information.

cheers
 simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]