Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Re: Executing independet commands in PERL

by btrott (Parson)
on Mar 05, 2001 at 05:44 UTC ( [id://62161]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Executing independet commands in PERL
in thread Executing independent commands in PERL

According to the docs it supports icmp:
$p = Net::Ping->new("icmp"); foreach $host (@host_array) { print "$host is "; print "NOT " unless $p->ping($host, 2); print "reachable.\n"; sleep(1); } $p->close();

Replies are listed 'Best First'.
Re: Re: Re: Re: Executing independet commands in PERL
by jink (Scribe) on Mar 06, 2001 at 17:03 UTC
    I see. But taken from the NOTES from these docs:
    The icmp protocol requires that the program be run as root or that it be setuid to root. The tcp and udp protocols do not require special privileges, but not all network devices implement the echo protocol for tcp or udp.
    I'd rather not use setuid root.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://62161]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2024-04-26 07:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found