* ps & grep
@ 1997-02-01 5:00 Lauer Edouard
1997-02-02 5:00 ` Tony Quan
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Lauer Edouard @ 1997-02-01 5:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 588 bytes --]
Hi,
We have encountered a new problem on DU4.0B. When we
do the command:
ps -ef�grep -v grep�grep backupserver
rc=$?
print ${rc}
--> 0
Ok, backupserver is there...
we get the correct result on our dtterm. Now if we do our dtterm
smaller the result of this command is nothing.
--> 1
Uh, backupserver is not there but after check it is there.....:-(
The result of the ps command on the smaller window is that all caracters
after the end of the window width are !!!truncated!!!.
Can someone help us out of this,
Thanks in advance,
Lauer Edouard
lauer_edi@innet.be
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ps & grep
1997-02-01 5:00 ps & grep Lauer Edouard
@ 1997-02-02 5:00 ` Tony Quan
1997-02-03 5:00 ` Kevin Oberman
1997-02-07 5:00 ` Alexander Kogan
2 siblings, 0 replies; 5+ messages in thread
From: Tony Quan @ 1997-02-02 5:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 827 bytes --]
In article <01bc0d2e$43daca00$2ec107c2@lupus>, "Lauer Edouard"
<lauer_edi@innet.be> wrote:
>Hi,
>
>We have encountered a new problem on DU4.0B. When we
>do the command:
>
> ps -ef�grep -v grep�grep backupserver
> rc=$?
> print ${rc}
> --> 0
>
> Ok, backupserver is there...
>
>we get the correct result on our dtterm. Now if we do our dtterm
>smaller the result of this command is nothing.
>
> --> 1
> Uh, backupserver is not there but after check it is there.....:-(
>
>The result of the ps command on the smaller window is that all caracters
>after the end of the window width are !!!truncated!!!.
>
>Can someone help us out of this,
>
>Thanks in advance,
>
>Lauer Edouard
>lauer_edi@innet.be
Try using "ps wwax" instead of "ps -ef".
--Tony
tquan@ibm.net
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ps & grep
1997-02-01 5:00 ps & grep Lauer Edouard
1997-02-02 5:00 ` Tony Quan
@ 1997-02-03 5:00 ` Kevin Oberman
1997-02-08 5:00 ` Wojciech Komornicki
1997-02-07 5:00 ` Alexander Kogan
2 siblings, 1 reply; 5+ messages in thread
From: Kevin Oberman @ 1997-02-03 5:00 UTC (permalink / raw)
"Lauer Edouard" <lauer_edi@innet.be> writes:
> The result of the ps command on the smaller window is that all caracters
> after the end of the window width are !!!truncated!!!.
This is, unfortunately, a posix requirement. ps MUST truncate at
terminal width to be compliant. (I didn't say it made sense, did I?)
If you can live with BSD syntax, try "ps auxww".
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net Phone: +1 510 486-8634
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ps & grep
1997-02-01 5:00 ps & grep Lauer Edouard
1997-02-02 5:00 ` Tony Quan
1997-02-03 5:00 ` Kevin Oberman
@ 1997-02-07 5:00 ` Alexander Kogan
2 siblings, 0 replies; 5+ messages in thread
From: Alexander Kogan @ 1997-02-07 5:00 UTC (permalink / raw)
Lauer Edouard wrote:
>
> Hi,
>
> We have encountered a new problem on DU4.0B. When we
> do the command:
>
> ps -ef�grep -v grep�grep backupserver
> rc=$?
> print ${rc}
> --> 0
>
> Ok, backupserver is there...
>
> we get the correct result on our dtterm. Now if we do our dtterm
> smaller the result of this command is nothing.
>
> --> 1
> Uh, backupserver is not there but after check it is there.....:-(
>
> The result of the ps command on the smaller window is that all caracters
> after the end of the window width are !!!truncated!!!.
>
> Can someone help us out of this,
>
> Thanks in advance,
>
I've check it on my box (AlphaStation 500/266, DU 4.0B) and didn't
found that effect.
Probably you should increase "Dttrem*saveLines" value in .Xdefaults. I
myself have:
Dttrem*saveLines: 500
_______________________________________________________________________
Alexander B. Kogan Parametric Technology Corporation
E-mail: kogan@ptc.com 128 Technology Drive, Waltham MA 02154
Voice: (617) 398-5172 Fax: (617) 398-5633
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ps & grep
1997-02-03 5:00 ` Kevin Oberman
@ 1997-02-08 5:00 ` Wojciech Komornicki
0 siblings, 0 replies; 5+ messages in thread
From: Wojciech Komornicki @ 1997-02-08 5:00 UTC (permalink / raw)
Kevin Oberman wrote:
>
> "Lauer Edouard" <lauer_edi@innet.be> writes:
>
> > The result of the ps command on the smaller window is that all caracters
> > after the end of the window width are !!!truncated!!!.
>
> This is, unfortunately, a posix requirement. ps MUST truncate at
> terminal width to be compliant. (I didn't say it made sense, did I?)
>
> If you can live with BSD syntax, try "ps auxww".
The alternative is to fool the system into thinking that your terminal
is wider.
You can issue a command
stty columns 100
to tell the system that your terminal screen is 100 columns wide. I use
emacs on
my alpha and often when I want the full output of ps I use this command
in a shell
buffer and then am able to see the full output
--
Wojciech Komornicki
wnk@piper.hamline.edu
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-02-08 5:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-01 5:00 ps & grep Lauer Edouard
1997-02-02 5:00 ` Tony Quan
1997-02-03 5:00 ` Kevin Oberman
1997-02-08 5:00 ` Wojciech Komornicki
1997-02-07 5:00 ` Alexander Kogan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox