From: hj@globecom.net
To: Guy Dallaire <dallaire@total.net>
Subject: Re: Why doesn't ps -ef wrap to next line under Digital UNIX
Date: 1996/11/17 [thread overview]
Message-ID: <Pine.OSF.3.95.961117044005.18288C-100000@via.one.se> (raw)
In-Reply-To: 56fobf$8qu@newsfeeder.total.net
Do like this instead:
ps auxww| grep some_thing
That'll do what u want. Notice that I don't write the "-".
Regards
Henrik Johansson
On Thu, 14 Nov 1996, 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 !
>
>
>
>
-----=<->=-----=</>=-----=<->=-----=<|>=-----=<->=-----=<\>=-----=<->=-----
Henrik Johansson email: hj@globecom.net tel: +46 (0)31-775 00 90
Systems Manager mobile: +46 (0)706-25 15 45 fax: +46 (0)31-775 00 85
GlobeCom Network "When communicating is your need" http://globecom.net/
-----=<->=-----=<\>=-----=<->=-----=<|>=-----=<->=-----=</>=-----=<->=-----
prev parent reply other threads:[~1996-11-17 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
1996-11-17 5:00 ` hj [this message]
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