leichongxiang / sshpt

Automatically exported from code.google.com/p/sshpt
0 stars 0 forks source link

sshpt hangs when a remote machine reboots #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the script with multiple commands
2. Host file includes 500 hosts or more
3. One or more hosts reboots

What is the expected output? What do you see instead?

The script should finish successfully and get back to the prompt.
Instead, if one or more hosts gets rebooted during the runtime, the script just 
hangs and I need to use CTRL + C to exit it.

What version of the product are you using? On what operating system?
sshpt 1.2.0
CentOS 6.2, SUSE 12.3

Please provide any additional information below.
I'm running multiple commands for grabbing machine details, such as lspci,
dmidecode, ifconfig etc. (around 15 commands)
The I output it to a csv file.

Thanks for the awesome script!

Original issue reported on code.google.com by era...@gmail.com on 3 Oct 2013 at 7:38