|
|
|
@ -2931,14 +2931,15 @@ void usage(int is_error)
|
|
|
|
|
fprintf(out, " -a, --alive show targets that are alive\n");
|
|
|
|
|
fprintf(out, " -A, --addr show targets by address\n");
|
|
|
|
|
fprintf(out, " -C, --vcount=N same as -c, report results in verbose format\n");
|
|
|
|
|
fprintf(out, " -d, --rdns show targets by name (force reverse-DNS lookup)\n");
|
|
|
|
|
fprintf(out, " -D, --timestamp print timestamp before each output line\n");
|
|
|
|
|
fprintf(out, " -e, --elapsed show elapsed time on return packets\n");
|
|
|
|
|
fprintf(out, " -i, --interval=MSEC interval between sending ping packets (default: %.0f ms)\n", interval / 1e6);
|
|
|
|
|
fprintf(out, " -n, --name show targets by name (-d is equivalent)\n");
|
|
|
|
|
fprintf(out, " -n, --name show targets by name (reverse-DNS lookup for target IPs)\n");
|
|
|
|
|
fprintf(out, " -N, --netdata output compatible for netdata (-l -Q are required)\n");
|
|
|
|
|
fprintf(out, " -o, --outage show the accumulated outage time (lost packets * packet interval)\n");
|
|
|
|
|
fprintf(out, " -q, --quiet quiet (don't show per-target/per-ping results)\n");
|
|
|
|
|
fprintf(out, " -Q, --squiet=SECS same as -q, but show summary every n seconds\n");
|
|
|
|
|
fprintf(out, " -Q, --squiet=SECS same as -q, but add interval summary every SECS seconds\n");
|
|
|
|
|
fprintf(out, " -s, --stats print final stats\n");
|
|
|
|
|
fprintf(out, " -u, --unreach show targets that are unreachable\n");
|
|
|
|
|
fprintf(out, " -v, --version show version\n");
|
|
|
|
|