Re: Piping PS truncates lines?
From: Chris F.A. Johnson (c.fa.johnson_at_rogers.com)
Date: 11/25/03
- Next message: Wally Sanford: "Re: Piping PS truncates lines?"
- Previous message: Michael Fuhr: "Re: Piping PS truncates lines?"
- In reply to: Wally Sanford: "Piping PS truncates lines?"
- Next in thread: Wally Sanford: "Re: Piping PS truncates lines?"
- Reply: Wally Sanford: "Re: Piping PS truncates lines?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Nov 2003 22:53:27 GMT
On Tue, 25 Nov 2003 at 21:08 GMT, Wally Sanford wrote:
> 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".
> 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.
> 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
- Next message: Wally Sanford: "Re: Piping PS truncates lines?"
- Previous message: Michael Fuhr: "Re: Piping PS truncates lines?"
- In reply to: Wally Sanford: "Piping PS truncates lines?"
- Next in thread: Wally Sanford: "Re: Piping PS truncates lines?"
- Reply: Wally Sanford: "Re: Piping PS truncates lines?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|