Bug 57912 - size argument doesn't work in ps
size argument doesn't work in ps
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: procps (Show other bugs)
7.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Alexander Larsson
Aaron Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-01-01 01:05 EST by Joseph Shraibman
Modified: 2007-04-18 12:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-07-01 10:05:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch for procps/ps/output.c (1.55 KB, patch)
2002-01-01 01:06 EST, Joseph Shraibman
no flags Details | Diff
new patch (disregard the old one) (1.55 KB, patch)
2002-03-11 20:27 EST, Joseph Shraibman
no flags Details | Diff

  None (edit)
Description Joseph Shraibman 2002-01-01 01:05:04 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221

Description of problem:
In the ps shipped with redhat the 'size' argument doesn't work.

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


How reproducible:
Always

Steps to Reproduce:
1. See below
2.
3.
	

Actual Results:  ~] ps -w -w -o pid,rss,size,args --sort size  
  PID  RSS - COMMAND
 5141  772 - ps -w -w -o pid,rss,size,args --sort size
 5107 1328 - -bash


Expected Results:  ~] ps -w -w -o pid,rss,size,args --sort size            
  PID  RSS SIZE COMMAND
22160  824  824 ps -w -w -o pid,rss,size,args --sort size
10586 1008 1008 bash

Additional info:

A patch is available at http://www.selectacast.net/~jks/psdiff.txt

A note in the bug submit form says
Comment 1 Joseph Shraibman 2002-01-01 01:06:39 EST
Created attachment 41571 [details]
patch for procps/ps/output.c
Comment 2 Joseph Shraibman 2002-03-11 20:27:53 EST
Created attachment 48224 [details]
new patch (disregard the old one)
Comment 3 Alexander Larsson 2002-08-08 10:21:02 EDT
Should be fixed in 2.0.7-24

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