* Why is my ps output truncated?
@ 1995-09-12 4:00 0 Bradley_Pete x9338 b-000
1995-09-12 4:00 ` Phil Edwards
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: 0 Bradley_Pete x9338 b-000 @ 1995-09-12 4:00 UTC (permalink / raw)
When I enter the command:
ps -ef
the output is truncated to fit my window (a Sun command tool rlogined
to alpha). I would prefer to have the lines wrap around, but I can
live with this.
If I enter:
ps -ef | grep "somestring"
the data piped to grep is truncated to fit my window before going into
grep!! This means that the result of the search depends on the width
of my window! Is this normal on OSF/1? Can it be avoided?
Thanks,
Pete Bradley
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why is my ps output truncated?
1995-09-12 4:00 Why is my ps output truncated? 0 Bradley_Pete x9338 b-000
@ 1995-09-12 4:00 ` Phil Edwards
1995-09-13 4:00 ` Dave Cherkus
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Phil Edwards @ 1995-09-12 4:00 UTC (permalink / raw)
Try using 'ps ugaxww' before the pipe instead.
--
#include<std/disclaimer.h> The gods do not protect fools.
Phil Edwards, pedwards@cs.wright.edu Fools are protected
http://www.cs.wright.edu/people/students/pedwards/ by more capable fools.
Finger pedwards@gamma.cs.wright.edu -Larry Niven
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why is my ps output truncated?
1995-09-12 4:00 Why is my ps output truncated? 0 Bradley_Pete x9338 b-000
1995-09-12 4:00 ` Phil Edwards
@ 1995-09-13 4:00 ` Dave Cherkus
1995-09-14 4:00 ` Angelo Pagan
1995-09-20 4:00 ` a-dgeer
3 siblings, 0 replies; 5+ messages in thread
From: Dave Cherkus @ 1995-09-13 4:00 UTC (permalink / raw)
0 Bradley_Pete x9338 b-000 (m107072@ws7217) wrote:
: When I enter the command:
: ps -ef
: the output is truncated to fit my window (a Sun command tool rlogined
: to alpha). I would prefer to have the lines wrap around, but I can
: live with this.
: If I enter:
: ps -ef | grep "somestring"
: the data piped to grep is truncated to fit my window before going into
: grep!! This means that the result of the search depends on the width
: of my window! Is this normal on OSF/1? Can it be avoided?
Normal on OSF? Yes.
The 'ps' command was 'fixed' to agree with some silly standard
(POSIX)? See if there is a 'wide' flag for 'ps'. I know there
is one for the BSD mode of ps (i.e. add 'w' to 'ps ax'). I
don't have an Alpha handy but you may find that there is a
wide flag for SYSV mode as well.
--
Dave Cherkus ----- UniMaster, Inc. ----- Contract Software Development
Specialties: UNIX TCP/IP X OSF/1 AlphaAXP AIX RS/6000 Performance ISDN
Email: cherkus@UniMaster.COM Tel: (603) 888-8308 Fax: (603) 888-4598
Live Free or Die - New Hampshire has 3 seasons: ice, mud and black fly
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why is my ps output truncated?
1995-09-12 4:00 Why is my ps output truncated? 0 Bradley_Pete x9338 b-000
1995-09-12 4:00 ` Phil Edwards
1995-09-13 4:00 ` Dave Cherkus
@ 1995-09-14 4:00 ` Angelo Pagan
1995-09-20 4:00 ` a-dgeer
3 siblings, 0 replies; 5+ messages in thread
From: Angelo Pagan @ 1995-09-14 4:00 UTC (permalink / raw)
Add -w, such as:
ps -efw
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why is my ps output truncated?
1995-09-12 4:00 Why is my ps output truncated? 0 Bradley_Pete x9338 b-000
` (2 preceding siblings ...)
1995-09-14 4:00 ` Angelo Pagan
@ 1995-09-20 4:00 ` a-dgeer
3 siblings, 0 replies; 5+ messages in thread
From: a-dgeer @ 1995-09-20 4:00 UTC (permalink / raw)
In article <1995Sep12.152545.7640@cronkite.res.utc.com>, m107072@ws7217
says...
>
>
>When I enter the command:
> ps -ef
>
>the output is truncated to fit my window (a Sun command tool rlogined
>to alpha). I would prefer to have the lines wrap around, but I can
>live with this.
>
>If I enter:
> ps -ef | grep "somestring"
>
>the data piped to grep is truncated to fit my window before going into
>grep!! This means that the result of the search depends on the width
>of my window! Is this normal on OSF/1? Can it be avoided?
>
>Thanks,
>
> Pete Bradley
>
I have odserved the same behavior. It can make for some interesting
scripts that break if the window is re-sized. I have worked around
the problem by using BSD style ps commands and using the w flag to
force wide output.
Dave Geer
--
The opinions expressed in this message are my own personal views
and do not reflect the official views of Microsoft Corporation.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1995-09-20 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-09-12 4:00 Why is my ps output truncated? 0 Bradley_Pete x9338 b-000
1995-09-12 4:00 ` Phil Edwards
1995-09-13 4:00 ` Dave Cherkus
1995-09-14 4:00 ` Angelo Pagan
1995-09-20 4:00 ` a-dgeer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox