Bug 22576

Summary: ps can not recognize the user defined format expressions.
Product: [Retired] Red Hat Linux Reporter: Dong Yan <dongyan>
Component: procpsAssignee: Alexander Larsson <alexl>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: russell
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-06-19 14:57:10 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 Dong Yan 2000-12-20 13:06:34 UTC
ps can not recognize the user defined format expressions.

such as ps -o %p

Comment 1 Preston Brown 2001-02-01 20:50:15 UTC
does seem to be very broken.

Comment 2 Russell McOrmond 2001-03-27 17:45:58 UTC
  The PS also doesn't match the MAN pages, which give examples which don't work.

  I have many scripts which have broken.  Should I attempt to fix it and submit
a patch, or is someone at RedHat already working on it?

Comment 3 acahalan 2001-06-01 05:03:51 UTC
If you want to work on this code, please
read ps/HACKING which the author so kindly
provided. You broke the retry logic when
you blindly added the code to complain
about unknown format options, and you
obviously did not run examples from the
man page.



Comment 4 Alexander Larsson 2002-08-08 13:24:49 UTC
Works for me at least in 2.0.7-23