Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 109704 - ps -m doesn't show threads
ps -m doesn't show threads
Product: Fedora
Classification: Fedora
Component: procps (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Alexander Larsson
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2003-11-10 22:03 EST by Need Real Name
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-11-16 21:07:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2003-11-10 22:03:24 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5)
Gecko/20031007 Firebird/0.7

Description of problem:
ps -m no longer shows threads. It did in RedHat 9.

It looks to me like the /proc entries for the thread are missing?
Since I can't tell what PID they have, it's hard to tell, but assuming
the next PID would have been allocated, there's no entry for it.

On the other hand, if the (numerically) next entry in /proc (which
isn't PPID + 1) _is_ the thread, it's weirdly formed - the exe "link"
doesn't go anywhere, for example.

Run the following python example and use ps -m. On RedHat 9, you'll
see two threads, on Fedora Core 1, just the parent.


import threading, time

def test():
  while 1:

threading.Thread(target = test).start()


Version-Release number of selected component (if applicable):

How reproducible:
Comment 1 Need Real Name 2003-11-16 21:07:12 EST
It appears the problem was that I'd built procps-2.0.17-1 on RH9 (to
get the slabinfo commands) and that build was somehow broken against
Fedora 1.

It's probably a bug in the procps build scripts (like it detects
kernel version at compile time rather than run time), but it's not
this bug.

Note You need to log in before you can comment on or make changes to this bug.