I am doing device interaction using Perl Expect module. Due to slowness or slow response of the device, expect could not send the commands onto the device and reporting failure. Some times device might close the connection itself. I have couple of queries. Please share you inputs.
1. Is is there a way to check the health of Expect handle (channel) created at both ends (sending/reeving) side.
2. Are there any bash commands that can be enabled on the box to get extra logs about the device interaction using the expect channel.
Thanks in Advance