日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

图解http-ping使用

發(fā)布時(shí)間:2025/4/14 编程问答 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 图解http-ping使用 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

一 實(shí)例

HTTP-Ping是一個(gè)小的,免費(fèi)的,易于使用的命令行工具,探測(cè)一個(gè)給定的URL,并顯示相關(guān)的統(tǒng)計(jì)數(shù)據(jù)。它類似于流行的`平`工具,但工程通過(guò)HTTP/ S,而不是ICMP,并配有網(wǎng)址,而不是計(jì)算機(jī)名/ IP地址。 HTTP-Ping與IPv4和IPv6兼容。
使用HTTP-Ping發(fā)現(xiàn),如果一個(gè)網(wǎng)站是響應(yīng)請(qǐng)求,測(cè)試任何網(wǎng)站或負(fù)載測(cè)試Web服務(wù)器的性能。
HTTP-ping操作簡(jiǎn)單性使得它在腳本中使用的理想選擇,如果一個(gè)Web服務(wù)器可用,服務(wù)頁(yè)面必須檢測(cè)。

圖標(biāo);


參數(shù);


ping一下看;


保存響應(yīng)到文本;


-v 參數(shù),輸出細(xì)節(jié);


-s不輸出;-q只接受http頭;


-d 附帶日期時(shí)間;


-o,用post發(fā)送數(shù)據(jù);




順帶踩一下點(diǎn),沒發(fā)現(xiàn)啥情況;



二 資料

http-ping 的應(yīng)用
Easily find out if your web site is responding and how it is performing
Command-Line Options
?
http-ping offers a rich set of command line options which can be seen by running "http-ping.exe /?" from a DOS prompt:?
http-ping [-t] [-n count] [-i interval] [-f file-name] [-s] [-v]
? ? ? ? ? [-q] [-c] [-r] [-w timeout] [-p] [-d] [-o data | -of file-name] URL


Where:
? ? URL ? ? ? ? ? ?The URL you wish to check. For example, http://www.kiva.org,
? ? ? ? ? ? ? ? ? ?http://209.191.122.70, or http://www.yourhost:8080.
? ? ? ? ? ? ? ? ? ?Be sure to surround an IPv6 address with square brackets. For
? ? ? ? ? ? ? ? ? ?example, http://[2a00:1450:4007:800::1014].


Options:
? ? -t ? ? ? ? ? ? Ping the specified URL until stopped.
? ? ? ? ? ? ? ? ? ?To see statistics and continue - type Control-Break;
? ? ? ? ? ? ? ? ? ?To stop - type Control-C.
? ? -n count ? ? ? Send 'count' requests. Supercedes -t.
? ? -i interval ? ?Wait 'interval' seconds between each request. There is a
? ? ? ? ? ? ? ? ? ?1-second wait if this option is not specified.
? ? -f file-name ? Save responses to file 'file-name'. Please specify the full
? ? ? ? ? ? ? ? ? ?path, and use quotes around file names with spaces.
? ? -s ? ? ? ? ? ? Silent. Print no output.
? ? -v ? ? ? ? ? ? Verbose. Print detailed output. Supercedes -s.
? ? -q ? ? ? ? ? ? Quick. Perform HTTP HEAD requests instead of GETs. This will
? ? ? ? ? ? ? ? ? ?retrieve headers only, and bytes reported will be 0.
? ? -c ? ? ? ? ? ? Perform a full connection on each request; ignore keep-alive.
? ? -r ? ? ? ? ? ? Follow HTTP redirects.
? ? -w timeout ? ? Wait 'timeout' seconds for a response before timing out.
? ? ? ? ? ? ? ? ? ?Specify 0 to avoid timing out.
? ? ? ? ? ? ? ? ? ?If not specified, the default timeout is 30 seconds.
? ? -p ? ? ? ? ? ? Use the proxy defined in the Windows Internet settings.
? ? -d ? ? ? ? ? ? Print the date and time of each ping attempt.
? ? -o data ? ? ? ?Perform HTTP POSTs sending the given data. Please enclose
? ? ? ? ? ? ? ? ? ?the data in quotes if it contains spaces.\n"
? ? -of file-name ?Perform HTTP POSTs sending the contents of file 'file-name'.
? ? ? ? ? ? ? ? ? ?Please specify the full path, and use quotes if the file name
? ? ? ? ? ? ? ? ? ?contains spaces.

總結(jié)

以上是生活随笔為你收集整理的图解http-ping使用的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。