본문 바로가기

OS/WINDOWS

[ WINDOWS ] TCPING - ping 으로는 부족하다. 포트확인 Ping 점검

[ WINDOWS ] TCPING  

 - ping 으로는 부족하다. 포트확인 Ping 점검


ping 으로는 포트의 상태를 인지할 수 없지요. 서버관리자분들에게 있으면 편리한 명령어 툴입니다.


tcping.exe

C:\Windows\System32 에 다운받으신 tcping 파일을 복사해줍니다.


사용방법은 어렵지않습니다. 

# tcping [ host ] [ port ] 



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

         -d   : include date and time on each line


HTTP Options:

         -h   : HTTP mode (use url without http:// for server-address)

         -u   : include target URL on each line

         -p   : use POST rather than GET (to avoid caching)


Debug Options:

         -o   : use alternate timing function (less precise)

         -f   : force tcping to send at least one byte

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