show thread as process

Fabian Meier fabian.meier at gmx.ch
Thu Sep 17 08:24:42 UTC 2009


Hi

The behaviour of ps with linuxthreads is different from nptl. A thread is
listed as a process with linuxthreads. With nptl you see only the real
process.
I modified props_scan so it can also work with threads(tasks) by scanning
/proc/<process>/task/*. I also added a config option in ps for that feature.


Regards
Fabian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090917/a88d5906/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox_ps-show-threads.patch
Type: application/octet-stream
Size: 3856 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090917/a88d5906/attachment.obj>


More information about the busybox mailing list