checking the reachability of the remote host





Hi ,
I have to verify whether the servers [windows , Linux ] which are
integrated to my Unix machine are alive or not .


I am using Net::Ping.

Problem i am facing is , i am able to verify all Unix machines
integrated .

And not the Windows & Linux machines which integrated to my UNIX box.


please Help me if you are aware.


-------------clip-----------
use Net::Ping;
my $p = Net::Ping->new(); $host="guis1.w2kr41.r41.xxx.xxxx.com";
print "HOST is --> $host \n";
if ( $p->ping($host) )
{
print "pingable host --> $host\n";


}
-----------clip---------------


Thanks
Arjun


Deserve before you desire






Confidentiality Notice


The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain confidential or privileged information. If you are not
the intended recipient, please notify the sender at Wipro or
Mailadmin@xxxxxxxxx immediately and destroy all copies of this message
and any attachments.

--
To unsubscribe, e-mail: beginners-unsubscribe@xxxxxxxx
For additional commands, e-mail: beginners-help@xxxxxxxx
<http://learn.perl.org/> <http://learn.perl.org/first-response>






Confidentiality Notice

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin@xxxxxxxxx immediately
and destroy all copies of this message and any attachments.
.



Relevant Pages

  • RE: IDS Recommendation
    ... CONFIDENTIALITY NOTICE: This email and any attachments are for the ... exclusive and confidential use of the intended recipient. ... Our security group currently is not doing this...but our CIO ...
    (Security-Basics)
  • RE: Xp Home
    ... >The connection is for my proxy, ... CONFIDENTIALITY NOTICE: This email and any attachments are for the ... exclusive and confidential use of the intended recipient. ...
    (Focus-Microsoft)
  • RE: Read a single line in a file.
    ... So I want only the word grape here. ... Confidentiality Notice ... The information contained in this electronic message and any attachments to this message are intended ... you are not the intended recipient, please notify the sender at Wipro or Mailadmin@xxxxxxxxx immediately ...
    (perl.beginners)
  • RE: Outbound Port scans, ports 3800+
    ... >ports 3800 and higher. ... >CONFIDENTIALITY NOTICE: ... If the reader of this message is not the intended recipient, ... send/receive up to 3MB attachments. ...
    (Security-Basics)
  • Networking-perl problem
    ... I have to gather data from external devices and process it. ... Confidentiality Notice ... The information contained in this electronic message and any attachments to this message are intended ... you are not the intended recipient, please notify the sender at Wipro or Mailadmin@wipro.com immediately ...
    (perl.beginners)