Линук: Покажите мрежни саобраћај - како то функционише
У овом практичном савету показаћемо вам како да прикажете ваш мрежни промет у Линуку. Постоји широк избор алата за командну линију и малих програма који могу анализирати вашу мрежу.
Линук: Прикажите мрежни саобраћај помоћу Етхерапе-а
- Отворите прозор терминала и инсталирајте етхерапе пакет наредбом „судо апт-гет инсталл етхерапе“ (без наводника).
- Сада покрените Етхерапе или преко менија или директно преко терминала са командом "судо етхерапе".
- Кликните на "Аквизиција" у менију Етерарапе и одаберите врсту везе (нпр. ВЛАН) у одељку "Интерфејси". Затим кликните на "Старт".
- У зависности од пренесене запремине, тренутне везе приказане су дебелим прикључним линијама. Пасивне везе представљене су танким тракама. Можете одредити различите врсте трупаца по боји.
- Такође можете инсталирати програм Виресхарк. Помоћу команде "судо апт-гет инсталл виресхарк" добијате овај програм за мрежну анализу на вашем Линук систему.
Погледајте мрежни саобраћај са терминала
- Отворите прозор терминала и инсталирајте алат наредбеног ретка наредбом „судо апт-гет инсталл етхстатус“ (без наводника).
- Покрените алат следећом наредбом: "етхстатус -и назив интерфејса -Специјација брзине". У примеру би могло изгледати овако: "етхстатус -и влан0 -С 6м".
- Такође можете инсталирати нетстат или ифтоп.
Прочитајте и како променити права приступа на Линуку.