01-23-04 09:54 PM
On Tue, 25 Nov 2003 at 21:08 GMT, Wally Sanford wrote:quote:
> I noticed that if I try something like:
>
> ps -ux | sort -rk 3 | head -n 25
>
> or
>
> ps f -e | grep perl
>
> I get back the correct lines, but they are always truncated to 80 lines?
I think you mean "80 columns".
quote:
> It seems to me that this is the doing of the ps command (if it thinks
> it's being piped?)
Do you get long lines when using ps by itself? I doubt it.
quote:
> Is there any way to force it to give full lines?
man ps
Look for -w.
--
Chris F.A. Johnson http://cfaj.freeshell.org
========================================
===========================
My code (if any) in this post is copyright 2003, Chris F.A. Johnson
and may be copied under the terms of the GNU General Public License
[ Post a follow-up to this message ]
|