0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

mtrをAmazonLinuxにインストール

Posted at

ネットワーク関連の確認のためにmtrをAmazonLinuxにビルドしてインストールしたのでその時のメモ。

環境

  • Amazon Linux AMI 2015.03 (HVM)

参考

MTR

使い方

mtrとは?

以下引用。

mtrは、宛先を指定すると、経路を探索し、それぞれの中継地点のルーターに対して、一定間隔でpingを実行し、RTT値やパケロスの統計を記録します。経路上のネットワークが不調の疑いがある場合など、しばらくmtrを実行して経過観察を行うことで、問題点の切り分けができます。

yumでのインストール(0.75)

yumでインストールできる

$sudo yum install mtr

ビルド(最新の0.86など)

コンパイル時に必要なパッケージのインストール

$sudo yum groupinstall "Development Tools"

ビルド、インストール

$wget ftp://ftp.bitwizard.nl/mtr/mtr-0.86.tar.gz
$tar -zxvf mtr-0.86.tar.gz
$cd mtr-0.86
$./configure
$sudo make
$sudo make install

確認

$/usr/local/sbin/mtr --version
mtr 0.86

$mtr --version
mtr 0.86
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?