Решено: Колонки в iftop

Обсуждение настройки и работы сервисов, резервирования, сетевых настроек и вопросов безопасности ОС.

Модераторы: SLEDopit, Модераторы разделов

TonnyBennet
Сообщения: 230
ОС: Ubuntu Server 9.10

Решено: Колонки в iftop

Сообщение TonnyBennet »

Здравствуйте.

Использую в мониторинге серверов iftop. Быстро определить какой хост занимает весь канал не сложно, только исходя из заполнения выделения строки. Но всё же не совсем понятно предназначение колонок

Изображение

Если слева направо:
1. Участник сетевого обмена
2. Направление обмена (<= или => )
3. Участник обмена
4.?
5. ?
6. ?

Осмелюсь предположить, что какая-то из колонок это текущая, а какая то средняя скорость обмена за некоторое время.

В интернете не нашёл ответов так, что буду признателен если поможете определить предназначение колонок.
Спасибо сказали:
allez
Сообщения: 2223
Статус: Не очень злой админ :-)
ОС: SuSE, CentOS, FreeBSD, Windows

Re: Решено: Колонки в iftop

Сообщение allez »

В man iftop поискать не пробовали? ;) Он, как видите, и в интернете есть. Вот вам цитата из него, полужирным выделены предложения, содержащие ответ на ваши вопросы.
DISPLAY

When running, iftop uses the whole screen to display network usage. At the top of the display is a logarithmic scale for the bar graph which gives a visual indication of traffic.

The main part of the display lists, for each pair of hosts, the rate at which data has been sent and received over the preceding 2, 10 and 40 second intervals. The direction of data flow is indicated by arrows, <= and =>. For instance,

foo.example.com => bar.example.com 1Kb 500b 100b
<= 2Mb 2Mb 2Mb

shows, on the first line, traffic from foo.example.com to bar.example.com; in the preceding 2 seconds, this averaged 1Kbit/s, around half that amount over the preceding 10s, and a fifth of that over the whole of the last 40s. During each of those intervals, the data sent in the other direction was about 2Mbit/s. On the actual display, part of each line is inverted to give a visual indication of the 10s average of traffic. You might expect to see something like this where host foo is making repeated HTTP requests to bar, which is sending data back which saturates a 2Mbit/s link.

By default, the pairs of hosts responsible for the most traffic (10 second average) are displayed at the top of the list.

At the bottom of the display, various totals are shown, including peak traffic over the last 40s, total traffic transferred (after filtering), and total transfer rates averaged over 2s, 10s and 40s.
Спасибо сказали:
TonnyBennet
Сообщения: 230
ОС: Ubuntu Server 9.10

Re: Решено: Колонки в iftop

Сообщение TonnyBennet »

Как говорится смотрю в книгу вижу.... в общем не то, что нужно.

Спасибо. Разобрался.
Спасибо сказали: