네트워크가 불안정 한지 확인할 때 가장 쉬운방법이 ping을 지속적으로 날려보는것 같다. 

하지만 ICMP프로토콜을 사용하지 못해서 ping 테스트가 어려운 경우가 있다. 


web application이라면 http로 ping테스트를 해볼수 있다. 

아래 주소를 참조.

http-ping.exe 를 걍 windows\system32에 넣는다.

http://www.coretechnologies.com/products/http-ping/


ex) https://localhost:8443 를 5초마다 호출하여 ping.log 라는 파일에 쌓는다. 

http-ping -t -i 5 -f ping.log https://localhost:8443


-i : 시간 (sec)

-t : 멈출때까지 실행

-f : 해당 파일에 저장. 


또 다른 방법 tcp ping
tcpping.exe 를 걍 windows\system32에 넣는다.

http://www.elifulkerson.com/projects/tcping.php

Usage: tcping [-t] [-d] [-i interval] [-n times] server-address [server-port]

         -t   : ping continuously until stopped via control-c
         -n 5 : for instance, send 5 pings
         -i 5 : for instance, ping every 5 seconds
         -w 100 : for instance, wait 100 milliseconds for a response
         -d   : include date and time on each line
         -b 1 : enable beeps (1 for on-down, 2 for on-up,
                              3 for on-change, 4 for always)
         -r 5 : for instance, relookup the hostname every 5 pings
         -s   : automatically exit on a successful ping
         -v   : print version and exit

        If you don't pass server-port, it defaults to 80. 

tcping –t –d localhost 443 >> ping.txt

끝.

Posted by 마법수정화살
,