| 1 | package App::mhping; | ||
| 2 | our $VERSION = "0.1"; | ||
| 3 | |||
| 4 | =encoding utf-8 | ||
| 5 | |||
| 6 | =head1 NAME | ||
| 7 | |||
| 8 | mhping - Multiple host ping | ||
| 9 | |||
| 10 | =begin HTML | ||
| 11 | |||
| 12 | <p> | ||
| 13 | <img src="https://raw.github.com/arpadszasz/mhping/master/mhping.jpg" | ||
| 14 | width="507" height="214" alt="Screenshot of mhping" /> | ||
| 15 | </p> | ||
| 16 | |||
| 17 | =end HTML | ||
| 18 | |||
| 19 | =head1 SYNOPSIS | ||
| 20 | |||
| 21 | mhping [options] [systems...] | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | mhping is a sysadmin tool that allows You to simultaneously check multiple | ||
| 26 | hosts for availability. Target hosts can be specified one per line in several | ||
| 27 | ways (in order of precedence): | ||
| 28 | |||
| 29 | =over 4 | ||
| 30 | |||
| 31 | =item 1. | ||
| 32 | from command line | ||
| 33 | |||
| 34 | =item 2. | ||
| 35 | from stdin | ||
| 36 | |||
| 37 | =item 3. | ||
| 38 | from a file using the C<-f> option | ||
| 39 | |||
| 40 | =back | ||
| 41 | |||
| 42 | =head1 OPTIONS | ||
| 43 | |||
| 44 | =over 4 | ||
| 45 | |||
| 46 | =item B<-f, --filename> file | ||
| 47 | |||
| 48 | Read list of targets from file or stdin if C<-> is specified as the filename. | ||
| 49 | |||
| 50 | =item B<-h, --help> | ||
| 51 | |||
| 52 | Print usage message. | ||
| 53 | |||
| 54 | =item B<-i, --interval> number | ||
| 55 | |||
| 56 | The minimum amount of time between sending ping packets. Default is 1 second. | ||
| 57 | |||
| 58 | =item B<-v, --version> | ||
| 59 | |||
| 60 | Print C<mhping> version information. | ||
| 61 | |||
| 62 | =back | ||
| 63 | |||
| 64 | =head1 COMPATIBILITY | ||
| 65 | |||
| 66 | This program requires Perl minimum version 5.8.8 with ithreads support to run. | ||
| 67 | It has been tested on the following minimum setup: | ||
| 68 | |||
| 69 | =over 4 | ||
| 70 | |||
| 71 | =item * | ||
| 72 | Perl 5.8.8 | ||
| 73 | |||
| 74 | =item * | ||
| 75 | threads 1.79 | ||
| 76 | |||
| 77 | =item * | ||
| 78 | threads::shared 0.94 | ||
| 79 | |||
| 80 | =item * | ||
| 81 | Thread::Queue 2.00 | ||
| 82 | |||
| 83 | =back | ||
| 84 | |||
| 85 | =head1 BUGS | ||
| 86 | |||
| 87 | Please report bugs on github: L<https://github.com/arpadszasz/mhping/issues> | ||
| 88 | |||
| 89 | =head1 AUTHORS | ||
| 90 | |||
| 91 | Árpád Szász | ||
| 92 | |||
| 93 | =head1 SEE ALSO | ||
| 94 | |||
| 95 | L<ping(8)> | ||
| 96 | L<fping(8)> | ||
| 97 | L<mtr(8)> | ||
| 98 | L<threads> | ||
| 99 | L<threads::shared> | ||
| 100 | L<Thread::Queue> | ||
| 101 | |||
| 102 | =cut | ||
| 103 | |||
| 104 | 1; |