[Bug 4081] CPU usage for threads not displayed correctly in top (only with NPTL threads)

bugzilla at busybox.net bugzilla at busybox.net
Wed Aug 24 16:50:06 UTC 2011


https://bugs.busybox.net/show_bug.cgi?id=4081

--- Comment #1 from Ronald Wahl <ronald.wahl at raritan.com>  ---
Created attachment 3547
  --> https://bugs.busybox.net/attachment.cgi?id=3547
Proposal for a fix

The original code only reads the /proc/<pid>/stat file instead of the
/proc/<pid>/task/<tid>/stat file. The attached patch fixes this.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list