[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [httping] testing of verion 1.4.1
Folkert van Heusden <folkert@vanheusden.com> wrote:
> Hi,
>
> Are you people out there willing to test this version for me?
> http://www.vanheusden.com/httping/httping-1.4.1.tgz
> I of course tested it myself but as the changes are quiet
> fundamentally I would like some testing by others as well before I
> release things. This version should also work on freebsd. On freebsd
> I only tested ipv4 though.
Works quite well for me:
root@snow:/home/ehaupt/httping # httping -6 -c 5 -g ipv6.google.com
PING ipv6.google.com:80 (ipv6.google.com):
connected to ipv6.google.com:80, seq=0 time=75.16 ms
connected to ipv6.google.com:80, seq=1 time=66.13 ms
connected to ipv6.google.com:80, seq=2 time=76.91 ms
connected to ipv6.google.com:80, seq=3 time=63.07 ms
connected to ipv6.google.com:80, seq=4 time=66.33 ms
--- ipv6.google.com ping statistics ---
5 connects, 5 ok, 0.00% failed
round-trip min/avg/max = 63.1/69.5/76.9 ms
root@snow:/home/ehaupt/httping # httping -c 5 -g www.google.com
PING www.google.com:80 (www.google.com):
connected to www.google.com:80, seq=0 time=41.72 ms
connected to www.google.com:80, seq=1 time=19.69 ms
connected to www.google.com:80, seq=2 time=22.87 ms
connected to www.google.com:80, seq=3 time=20.92 ms
connected to www.google.com:80, seq=4 time=22.97 ms
--- www.google.com ping statistics ---
5 connects, 5 ok, 0.00% failed
round-trip min/avg/max = 19.7/25.6/41.7 ms
There is still the uneven indentation though :-) (-t, -S, -y, -A)
root@snow:/home/ehaupt/httping # httping
-g url url (e.g. -g http://localhost/)
-h hostname hostname (e.g. localhost)
-p portnr portnumber (e.g. 80)
-x host:port hostname+portnumber of proxyserver
-c count how many times to connect
-i interval delay between each connect
-t timeout timeout (default: 30s)
-6 use IPv6
-s show statuscodes
-S split time in connect-time and processing time
-G do a GET request instead of HEAD (read the
contents of the page as well)
-b show transfer speed in KB/s (use with -G)
-B like -b but use compression if available
-L x limit the amount of data transferred (for -b)
to 'x' (in bytes)
-X show the number of KB transferred (for -b)
-l connect using SSL
-z show fingerprint (SSL)
-f flood connect (no delays)
-a audible ping
-m give machine parseable output (see
also -o and -e)
-o rc,rc,... what http results codes indicate 'ok'
coma seperated WITHOUT spaces inbetween
default is 200, use with -e
-e str string to display when http result code
doesn't match
-I str use 'str' for the UserAgent header
-R str use 'str' for the Referer header
-r resolve hostname only once (usefull when
pinging roundrobin DNS: also takes the first
DNS lookup out of the loop so that the first
measurement is also correct)
-n warn,crit Nagios-mode: return 1 when avg. response time
>= warn, 2 if >= crit, otherwhise return 0
-N x Nagios mode 2: return 0 when all fine, 'x'
when anything failes
-y ip[:port] bind to ip-address (and thus interface) [/port]
-q quiet, only returncode
-A Activate Basic authentication
-U Username needed for authentication
-P Password needed for authentication
-C cookie=value Add a cookie to the request
-V show the version
No hostname/getrequest given
errno=2 (if applicable)
Emanuel