Bug 22576 - ps can not recognize the user defined format expressions.
Summary: ps can not recognize the user defined format expressions.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: procps
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-12-20 13:06 UTC by Dong Yan
Modified: 2007-04-18 16:30 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-06-19 14:57:10 UTC
Embargoed:


Attachments (Terms of Use)

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



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