proc states

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Thu Mar 22 05:08:37 PDT 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00024.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20070322/372d6b7f/attachment-0020.obj>


More information about the Kernel mailing list