9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm doing a simple script with expect (a telnet which works without user/pass), and I want to put a condition if timeout happens, then to print a message, but it doesn't work. The script looks like below:
set timeout 10
spawn telnet IP PORT
send... (3 Replies)
Discussion started by: rainbow19
2. Shell Programming and Scripting
I'm writing a script which based on a condition, restarts a set of servers. The problem I'm facing is, say if one of the server is down, my script stops there and fails to proceed. How can I ensure to set a timeout value on that script, so when the server is not reachable, the script should... (2 Replies)
Discussion started by: mathbalaji
3. Red Hat
The server is Redhat 5 32bit.
It is not easy to produce the problem so I will just write the experienced problems not how it is produced.
1) During login, it shows the last login time and then waits for 3-4 seconds to give shell prompt (considerable)
2) Sometimes the connection window... (2 Replies)
Discussion started by: royalliege
4. Shell Programming and Scripting
i am trying to write an except script to ssh into a list of devices and run some commands, and i came across this problem, not every device is alive, which breaks the script, my script looks like this
# set defaults
set... (1 Reply)
Discussion started by: fedora
5. Shell Programming and Scripting
I am doing SFTP using expect. We just change our server from sun solaris 8 to sun solaris 10.
The script was working good on sun solaris 8.
But it is giving problem on 10. from shell, SFTP is working fine.Please help me.
What can be the problem.
... (0 Replies)
Discussion started by: mindtee_abhi
6. Shell Programming and Scripting
When I run a script where the 1st parameter is ip address
ftp -n -i -v $1
I hang here if the ip is wrong
how to set a timeout something like
if (20s not complete "ftp -n -i -v $1") then
Thanks a lot. (14 Replies)
Discussion started by: uativan
7. UNIX for Advanced & Expert Users
This is message that occurs when i am trying to shutdown the linux system
timeout opening writing control channel /dev/initctl
how can i shutdown what is the problem here..
Thanks in advance
... (2 Replies)
Discussion started by: arunkumar_mca
I am a new one,I want to know how to get the solaris force the loginer out if he do not in a time
thanks (4 Replies)
Discussion started by: lyh003473
How can I kick a user out after being idle for a certain amount of time, would prefer not to use scripts, will TMOUT work on HP-UX? (5 Replies)
Discussion started by: csaunders