Search Results

Search: Posts Made By: tavanagh
3,605
Posted By tavanagh
What I am looking to find out is if it is...
What I am looking to find out is if it is possible to check if result of ping failure using Net::Ping without parsing ping output. I want to know if host was unknown or if host was unreachable.
3,605
Posted By tavanagh
I have tried same script using system ping for...
I have tried same script using system ping for list of hosts I want to ping - for some of the hosts I am getting unknown hosts for others I am getting Host unreacheable. Do I need to do something...
3,605
Posted By tavanagh
How to get reason for ping failure using perls Net::Ping->new("icmp");?
Hi

I am using perl to ping a list of nodes - with script below :

$p = Net::Ping->new("icmp");
if ($p->ping($host,1)){
print "$host is alive.\n";
}
...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 06:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy