From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,dc11645841c013e9 X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee84,dc11645841c013e9 X-Google-Attributes: gidfee84,public From: hj@globecom.net Subject: Re: Why doesn't ps -ef wrap to next line under Digital UNIX Date: 1996/11/17 Message-ID: #1/1 X-Deja-AN: 196975190 references: <56fobf$8qu@newsfeeder.total.net> to: Guy Dallaire x-sender: hj@via.one.se content-type: TEXT/PLAIN; charset=US-ASCII organization: Internet One - Gothenburg/Sweden +46 31 775 00 80 mime-version: 1.0 newsgroups: comp.unix.osf.osf1,comp.unix.questions 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/ -----=<->=-----=<\>=-----=<->=-----=<|>=-----=<->=-----==-----=<->=-----