Re: Piping PS truncates lines?
From: Robert M. Riches Jr (spamtrap42_at_verizon.net)
Date: 11/25/03
- Next message: al: "mod_dav and mod_ssl"
- Previous message: bigNuts: "Re: Why partition a Lunux system?"
- In reply to: Wally Sanford: "Piping PS truncates lines?"
- Next in thread: Dominic: "Re: Piping PS truncates lines?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 25 Nov 2003 21:42:17 GMT
In article <bq0gse$1t5lak$5@ID-196529.news.uni-berlin.de>, 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?
>
> It seems to me that this is the doing of the ps command (if it thinks
> it's being piped?)
>
> Is there any way to force it to give full lines?
I usually use 'ps augx', and with those options it always
truncates lines at 80 chars. Try adding the 'w' option (for
wide output).
Good luck.
Robert Riches
spamtrap42@verizon.net
(Yes, that is one of my email addresses.)
- Next message: al: "mod_dav and mod_ssl"
- Previous message: bigNuts: "Re: Why partition a Lunux system?"
- In reply to: Wally Sanford: "Piping PS truncates lines?"
- Next in thread: Dominic: "Re: Piping PS truncates lines?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]