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

Summary: Strange line truncation using ps
Product: [Retired] Red Hat Linux Reporter: cfy1
Component: procpsAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
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: 1999-10-11 17:58:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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