Forked from cnDelbert/How to install tcpping on Linux.md
Created
November 27, 2018 08:55
-
-
Save IlyaMoiseev/13c5d8b0d738bfa9224b78f4d57951cc to your computer and use it in GitHub Desktop.
Revisions
-
cnDelbert renamed this gist
Jan 15, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
cnDelbert created this gist
Jan 15, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ To install tcptraceroute on Debian/Ubuntu: ```sh $ sudo apt-get install tcptraceroute ``` To install tcptraceroute on CentOS/REHL, first set up RepoForge on your system, and then: ```sh $ sudo yum install tcptraceroute ``` Finally, download tcpping from the web. ```sh $ cd /usr/bin $ sudo wget http://www.vdberg.org/~richard/tcpping $ sudo chmod 755 tcpping ``` To measure network latency by using tcpping, simply run it as follows. ```sh $ tcpping www.cnn.com seq 0: tcp response from 157.166.240.13 [open] 82.544 ms seq 1: tcp response from 157.166.241.10 [open] 80.771 ms seq 2: tcp response from 157.166.241.11 [open] 80.838 ms seq 3: tcp response from 157.166.241.10 [open] 80.145 ms seq 4: tcp response from 157.166.240.11 [open] 86.253 ms ```