What if Expect buffer overflows
- From: "Arun Gupta" <arungupta.sbg@xxxxxxxxx>
- Date: 12 Sep 2006 23:36:23 -0700
I am send a cli command to my equipment using expect script.
The script is OK when the response of cli command sent to the equipment
is small.
There is a command whose response is very big ( it retuned me status of
100 of ports of my eqipment and may take 1 minutes to display the whole
result).
I have set timeout of 100 sec, and after sending that command I am
expecting a correct string, but after displaying small amount of data ,
the script is entering the next loop ( which it should enter only after
displaying all the info.). I have also increased the buffer size to
10000 char, but still no effect.
Can anybody please guide what should I do to display the whole info?
.
- Follow-Ups:
- Re: What if Expect buffer overflows
- From: Bezoar
- Re: What if Expect buffer overflows
- Prev by Date: BLT installation failure
- Next by Date: Re: Underflow and expr
- Previous by thread: BLT installation failure
- Next by thread: Re: What if Expect buffer overflows
- Index(es):