Red Hat Bugzilla – Bug 5814
Strange line truncation using ps
Last modified: 2008-05-01 11:37:52 EDT
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
ps aux | cat
Every line of output is truncated to 80 characters.
ps aux | grep "something"
Again, same line truncation.
Also happens with:
ps aux > tmp.txt
Every line of tmp.txt is trucated.
Add one or more w flags as in
ps auxww > /tmp/tmp.txt