1http_ping(1) General Commands Manual http_ping(1)
2
3
4
6 http_ping - measure HTTP latency
7
9 http_ping [-count n] [-interval n] [-quiet] [-proxy host:port] url
10
12 http_ping runs an HTTP fetch every few seconds, timing how long it
13 takes.
14
15 Sample run:
16 % http_ping http://www.example.com/
17 7816 bytes from http://www.example.com/: 246.602 ms (9.923c/23.074r/213.605d)
18 7816 bytes from http://www.example.com/: 189.997 ms (11.619c/22.971r/155.407d)
19 7816 bytes from http://www.example.com/: 190.463 ms (8.994c/25.091r/156.378d)
20 7816 bytes from http://www.example.com/: 190.07 ms (9.234c/23.9r/156.936d)
21 7816 bytes from http://www.example.com/: 190.706 ms (10.142c/46.579r/133.985d)
22 ^C
23 --- http://www.example.com/ http_ping statistics ---
24 5 fetches started, 5 completed (100%), 0 failures (0%), 0 timeouts (0%)
25 total min/avg/max = 189.997/201.568/246.602 ms
26 connect min/avg/max = 8.994/9.9824/11.619 ms
27 response min/avg/max = 22.971/28.323/46.579 ms
28 data min/avg/max = 133.985/163.262/213.605 ms
29
31 -count Stop after the specified number of fetches. Without this
32 option, http_ping will continue until interrupted.
33
34 -interval
35 Wait the specified number of seconds between fetches. The
36 default is five seconds.
37
38 -quiet Only display the summary info at the end.
39
40 -proxy Specifies a proxy host and port to use.
41
43 http_load(1), http_get(1), ping(8)
44
46 Copyright © 1998,1999,2001,2002 by Jef Poskanzer <jef@mail.acme.com>.
47 All rights reserved.
48
49
50
51 03 April 2002 http_ping(1)