Network diagnostics in Linux: mtr — visual check of the route and losses
Network diagnostics in Linux: mtr — visual check of the route and losses
When a site opens with a delay or the connection is floating, it is important to understand where exactly the problem is occurring: on your host, at the provider, or on one of the intermediate nodes. mtr brings together possibilities ping And traceroute and shows real-time route, packet loss and average delays. By default, the utility works via ICMP; if necessary, you can switch to TCP SYN or UDP — this helps to test exactly the protocols that your application uses.
Below are brief instructions: how to install mtr, run a basic check, display IPs instead of names and generate an accurate final report for correspondence or a ticket.
Installation
If the utility is not already installed, install it through the standard package manager of your system.
Debian/Ubuntu:
sudo apt-get install mtr
CentOS:
sudo yum install mtr
Running a scan
After installation, run mtr, specifying the domain name of the site or the IP address of the server to which you want to check accessibility:
mtr google.com
To display real IP addresses instead of hostnames, add the -n switch:
mtr -n google.com
Selecting package type
If necessary, you can use TCP SYN or UDP rather than standard ICMP echo:
mtr --tcp google.com
mtr --udp google.com
Final report
For convenient final output in the form of a report, specify the report mode -r and the number of packets, for example 100, combined with -n:
mtr -rn -c 100 google.com
This launch generates a neat summary report, which is convenient to analyze and attach to tickets or correspondence.
CONTENT:
Similar
Похожее
Все новости
Adaxa Suite: подробный обзор ERP-системы корпоративного класса
Adaxa Suite — комплексная ERP-платформа для компаний, которым уже тесно в рамках простых учётных систем, но которые при этом не готовы идти в сторону дорогих корпоративных решений уровня SAP или Oracle. Изначально продукт создавался для среднего бизнеса, которому нужна большой набор функций, сквозная автоматизация процессов и надёжная архитектура без чрезмерной стоимости владения. Архитектура и техническая […]
Как заказать дополнительные IP-адреса на UFO.Hosting: пошаговая инструкция
По мере роста проекта одного IP-адреса может стать недостаточно. Это типичная ситуация для компаний, которые масштабируют инфраструктуру, запускают новые сервисы или разделяют внутренние процессы. В UFO.Hosting подключение дополнительных IP-адресов выполняется через биллинговую панель и занимает всего несколько минут. Важно: возможность для заказа дополнительных IP-адресов доступна для тарифов VPS начиная с Haedus. Зачем нужны дополнительные IP-адреса […]