Giter VIP home page Giter VIP logo

mtr's Introduction

Linux安装方法(eg Debian,Ubuntu)

编译

如果需要biliip解析功能,请使用以下命令编译:

    apt-get update; apt-get install -y automake libncurses5-dev libncursesw5-dev
    ./bootstrap.sh
    ./configure --without-gtk --disable-ipv6 --with-biliip
    make -j8
    make install

下载IP库

下载以下地址中的数据文件放置至

    /opt/mtr/BiliIP.dat
    http://wsdownload.hdslb.net/BiliIP.dat.gz

运行时使用以下两种方式:

    MTR_OPTIONS="-R" mtr
    mtr -R

MAC 安装示例

  • 原生 mtr 添加了 位置显示 和 DNS反向解析。

编译环境准备

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew install automake
brew install wget
brew install gtk+

下载源码

git clone https://github.com/Bilibili/mtr

编译安装

cd mtr
./bootstrap.sh 
./configure --without-gtk --disable-ipv6 --with-biliip 
make -j8
sudo bash -c 'cp mtr /usr/local/bin && mkdir /opt/mtr && chmod +s /usr/local/bin/mtr && mkdir -p /opt/mtr/BiliIP && wget http://wsdownload.hdslb.net/BiliIP.dat.gz -O - | gzip -dc > /opt/mtr/BiliIP.dat'

Show一把

原生

sudo mtr www.bilibili.com

扩展

sudo mtr -R www.bilibili.com

感谢

IP库国家/城市数据来源:http://www.ipip.net/ 免费版
IP库ISP来源:QQWry / 新浪公开IP查询库

截图

MAC运行截图

mtr's People

Contributors

aquerubin avatar bindiry avatar cornercat avatar culugyx avatar dballing avatar dmbaturin avatar drwilco avatar elindsey avatar garethrandall avatar higkoo avatar hloeung avatar jlec avatar jta avatar kilobyte avatar mackyle avatar magicbear avatar msekletar avatar mutantmonkey avatar rewolff avatar richih avatar rpwoodbu avatar swordfeng avatar traviscross avatar vbajpai avatar zyxar avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.