Bug 90995 - not show everything
Summary: not show everything
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: procps
Version: 8.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-16 08:46 UTC by Sebastian Boinski
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-05-16 13:11:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Sebastian Boinski 2003-05-16 08:46:04 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90)

Description of problem:
I wrote aplication that from main proces fork 5 times. When I tested it on RH 
8.0 ps didn't show one process. According to data in /proc process existed and 
was running (on other platform I didn't have such problems) . When I tested a 
job made by this process everything was OK. I suggestet that there is a bug in 
ps.

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

How reproducible:
Always

Steps to Reproduce:
1. I run my soft in any situation that they gets different PID
2. Everytime there was this same problem
3.
    

Additional info:

Comment 1 Alexander Larsson 2003-05-16 13:11:22 UTC
The ps in RH8 (and upstream ps too, in later versions) doesn't show subthreads
by default. To get them you need to pass -m to ps. Due to the way threads are
handled in LinuxThreads there is no really 100% correct way to detect what
processes are threads, so it uses a hack. When a child process has identical
name and vmsize as its parent its assumed to be a thread.

This is fixed in RHL9 with the introduction of NPTL.


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