Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

timeouts

Status
Not open for further replies.

markus38

Technical User
Mar 20, 2004
45
CH
Hi,

Working on a paper that I want to include timeout values for the likes of rsh and rexec. If your OS isn't here, can you run the following very simple line and cut'n'paste the results for me please ...

uname -a;date;rsh 192.192.1.1;date

The IP address isn't important, what I am interested in is the times. For example it takes redhat 9.0 rsh 3 mins and 10 seconds to timeout.

Thanks
 
on Debian CID:

Code:
XXX:~$ uname -a;date;rsh 192.192.1.1;date
Linux XXX 2.4.22-1-686 #6 Sat Oct 4 14:09:08 EST 2003 i686 GNU/Linux
Fri Mar 26 15:55:09 CLT 2004
ssh: connect to host 192.192.1.1 port 22: Connection timed out
Fri Mar 26 15:58:19 CLT 2004
exactly as you!
 
On Solaris 7:

Code:
# uname -a;date;rsh 192.192.1.1;date
SunOS aconcagua 5.7 Generic_106541-24 sun4u sparc SUNW,Ultra-5_10
Fri Mar 26 15:59:40 CST 2004
192.192.1.1: Connection timed out
Fri Mar 26 16:03:24 CST 2004
 
In SCO OpenServer 5.0.7:
phvadm@sco8phv>uname -a;date;rcmd 192.192.1.1;date
SCO_SV sco8phv 3.2 5.0.7 i386
ven 26 mar 21:04:25 HIV 2004
192.192.1.1: délai de connexion dépassé
ven 26 mar 21:07:25 HIV 2004

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Are you building a system-detecting hacker-tool?
evil, evil!

Linux knony 2.6.4 #1 Mon Mar 22 19:46:38 CET 2004 i686 GNU/Linux
Sa Mr 27 07:25:40 CET 2004
ssh: connect to host 192.192.1.1 port 22: Connection timed out
Sa Mr 27 07:28:49 CET 2004

knony is a knoppix-linux, modified by me.

3 min 9 sec, to avoid duplicated substraction by readers :)

can't you use:
Code:
uname -a; time rsh 192.192.1.1
instead, to get the difference directly? (works on my system:
real: 3m8.982s
 
$ uname -a; time rsh 192.192.1.1
OSF1 ift-11.local V4.0 878 alpha
192.192.1.1: Connection timed out

real 1m15.18s
user 0m0.00s
sys 0m0.01s
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top