Perl should have an expect module. Expect has a syntax for saying how
long to wait for a specific response before timing out.
[RC]
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Nick Laflamme
Sent: Tuesday, October 28, 2008 7:20 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: [ADSM-L] Time out! says the script?
Is there an option for the dsmadmc administrative client to set how long
the client should wait before giving up on a response from a server?
I'm trying to automate some routine health checks of our servers, and
there are times that not getting a prompt response tells me more than
enough. However, I don't see a command line option to specify a time-out
value for how long the client should wait.
(If it matters, the script is in perl, initially running on a Windows
desktop.The TSM servers are at various levels; the Windows client is at
5.3.4.3 but could be updated if there's a relevant fix in a later
level.)
Thanks,
Nick
DISCLAIMER:
This message is intended for the sole use of the addressee, and may contain
information that is privileged, confidential and exempt from disclosure under
applicable law. If you are not the addressee you are hereby notified that you
may not use, copy, disclose, or distribute to anyone the message or any
information contained in the message. If you have received this message in
error, please immediately advise the sender by reply email and delete this
message.
|