Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 5814 - Strange line truncation using ps
Summary: Strange line truncation using ps
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: procps
Version: 6.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-10-11 01:11 UTC by cfy1
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1999-10-11 17:58:55 UTC


Attachments (Terms of Use)

Description cfy1 1999-10-11 01:11:39 UTC
Piping the output of ps through anything seems to cause
strange line truncations.

For example, if ps aux returns line that are longer than 80
characters, piping it through anything causes each line to
be truncated.

ps aux | cat

Every line of output is truncated to 80 characters.

Or:

ps aux | grep "something"

Again, same line truncation.

Also happens with:

ps aux > tmp.txt

Every line of tmp.txt is trucated.

Comment 1 Jeff Johnson 1999-10-11 17:58:59 UTC
Add one or more w flags as in
	ps auxww > /tmp/tmp.txt


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