- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Any Ideas -- Checking client status.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2003 12:54 AM
тАО12-05-2003 12:54 AM
Any Ideas -- Checking client status.
The problem I have is when machines are switched off the script hangs, trying to connect.
In short is there a way to check whether a machine is up or not from the server, without waiting for the Connection Timeout message.
Thanks in advance.
Russ.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2003 01:00 AM
тАО12-05-2003 01:00 AM
Re: Any Ideas -- Checking client status.
Ping?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2003 01:00 AM
тАО12-05-2003 01:00 AM
Re: Any Ideas -- Checking client status.
Why don't u ping the client machines and check???
#ping a.b.c.d(client ip address)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2003 01:01 AM
тАО12-05-2003 01:01 AM
Re: Any Ideas -- Checking client status.
ping server -n 1
and checking to see if you get 100% packetloss before continuing on.
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2003 01:01 AM
тАО12-05-2003 01:01 AM
Re: Any Ideas -- Checking client status.
ping -n3 host_name
if [ $? -ne 0 ]
then
echo "machine not available"
exit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2003 01:13 AM
тАО12-05-2003 01:13 AM
Re: Any Ideas -- Checking client status.
Attached is a perl script called remsh.pl that attempts to remsh but times out after 30 seconds.
call it with "remsh.pl host command"
Oh, and read the comments at the start :)