Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: tquan@ibm.net (Tony Quan)
Subject: Re: Why doesn't ps -ef wrap to next line under Digital UNIX
Date: 1996/11/16	[thread overview]
Message-ID: <tquan-1611960037140001@slip166-72-210-153.ca.us.ibm.net> (raw)
In-Reply-To: 56fobf$8qu@newsfeeder.total.net


In article <56fobf$8qu@newsfeeder.total.net>, dallaire@total.net (Guy
Dallaire) wrote:

> Hello,
> 
> This morning, I discovered a fact about the 'ps' command, that I
> ignored before. This also applies to other commands but I'll take 'ps
> -ef' as an example:
> 
> Example: 
> 
> my screen is X chars wide, A which images is known by the name of
> 'some_long_image_name' is running in the system at this time.
> 
> I issue the command:
> 
> ps -ef
> 
> I get:
> 
>                                             | <- Right screen limit
> bla bla bla bla bla bla some_
> 
> Now, I want to make sure that 'some_long_image_name' is running. So I
> do the following:
> 
> ps -ef | grep 'some_long_image_name'
> 
> Result: Not found.
> 
> Workaround(s):
> 
> I have to do a stty cols 132 (Why ?)
> I have to grep on 'some_' only (Not very useful)
> 
> Is there a way to have ps (or other commands) stop truncating it's
> output in this way ?
> 
>                                 Thanks !


Try using the "ww" option of ps.

--Tony
tquan@ibm.net



  reply	other threads:[~1996-11-16  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-14  5:00 Why doesn't ps -ef wrap to next line under Digital UNIX Guy Dallaire
1996-11-16  5:00 ` Tony Quan [this message]
1996-11-17  5:00 ` hj
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox