특정포트로 ping을 날리는 유틸
2016.10.07 20:21
원문 : http://www.ischo.net -- 조인상 // 시스템 엔지니어
Writer : http://www.ischo.net -- ischo // System Engineer in Replubic Of Korea
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
원문 : http://www.ischo.net -- 조인상 //시스템 엔지니어
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
출처 : 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.
예1) > tcping 192.168.0.1 // 기본포트인 80으로 ping 보냄
예2) > tcping 192.168.0.1 3389 // TCP 3389로 ping 보냄