Bug 55980

Summary: ps option to suppress threads
Product: [Retired] Red Hat Linux Reporter: Frank Hirtz <fhirtz>
Component: procpsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED WORKSFORME QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-02-11 12:55:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Frank Hirtz 2001-11-09 20:24:20 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012

Description of problem:
We need an option to ps to suppress the display of threads.  The manpage
suggests a -m option to show threads (suggesting an obvious -M to suppress
them?) but the version shipped with Red Hat Linux responds "ps: error:
Thread display not implemented".

This is coming up in a number of contexts and so is a relatively high priority.

---

This should be tied to the work that is already being done to have the
kernel export some information on threads (tgid) which should already be
underway.

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


How reproducible:
Always

Steps to Reproduce:
1.ps -m
2.
3.
	

Actual Results:  ps: error: Thread display not implemented.


Additional info:

Comment 1 Alexander Larsson 2002-07-01 14:02:32 UTC
Fixed in 2.0.7-18


Comment 2 bdraco 2003-02-17 03:40:48 UTC
The "fix" leaves no way to display the complete list of pids (even if they are
just threads).   There should be an option to have the old behavior. -m doesn't
display them

Comment 3 Alexander Larsson 2003-02-17 10:47:14 UTC
On what system does -m not work?
It does work for me on e.g. RH 8.0.

Comment 4 Alexander Larsson 2004-02-05 10:30:59 UTC
Mass reassign to the new owner