PROXY  WHOIS  RQUOTE  TEXTS  SOFT  FOREX  BBOARD
 Music  Philosophy  Code  Literature  Russian

= ROOT|Technical|Proxy_Docs|_Perl_code|pingomatic-1.013.pl =

page 7 of 7




=item -

Subtract one second from the current update interval.

=item Ctrl-C

Terminate the script.

=back

=head1 THE .PINGOMATIC.HOSTS FILE

Each line in the F<~/.pingomatic.hosts> file can consist of a I<host>,
a I<host>:I<port>, or a I<host>:I<port>/I<protocol> specification.

Empty lines and lines beginning with a '#' are ignored.

=head1 IMPLEMENTATION DETAILS

If no port is specified or "ping" is used as a port name, then the
system command C<ping> is used. This is preferable because otherwise
pingomatic has to run as root. In all other cases L<Net::Ping> is
used.

=head1 EXAMPLES

Here's an example (which probably only works on Linux) to ping all
hosts with a current tcp connection from our host:

    cat /proc/net/tcp | sed -e '1 d' -e 's/^ *//' | cut -d" " -f3 | grep -v "^00000000" | cut -d":" -f1 | perl -nle '@x = 
/(..)/g; print join(".", reverse(map { hex($_) } @x));' > /tmp/hosts
    pingomatic /tmp/hosts

=head1 README

This utility pings to a number of hosts in parallel.

=head1 FILES

    ~/.pingomatic.hosts - A list of host names to ping. The file should
    consist of hostnames or hostname:port specifications, one per line.

=head1 PREREQUISITES

Event, Term::ReadKey.

=head1 OSNAMES

only tested on Linux, FreeBSD and Solaris

=head1 SCRIPT CATEGORIES

Networking

=head1 AUTHOR

Slaven Rezic <slaven@rezic.de>

=head1 SEE ALSO

ping(1).

=cut


=7=
THE END

1|2|3|4|5|6| < PREV = PAGE 7 =

UP TO ROOT | UP TO DIR | TO FIRST PAGE

Google
 

E-mail Facebook Google Digg del.icio.us BlinkList Fark Furl Ma.gnolia Netscape NewsVine Reddit Slashdot Spurl StumbleUpon Technorati YahooMyWeb LiveJournal Blogmarks TwitThis Live News2.ru BobrDobr.ru Memori.ru MoeMesto.ru

0.00640011 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU)