{"id":11616,"date":"2019-03-15T01:36:02","date_gmt":"2019-03-15T01:36:02","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=11616"},"modified":"2019-03-15T01:36:02","modified_gmt":"2019-03-15T01:36:02","slug":"real-time-interactive-ip-lan-monitoring-with-iptraf-tool","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/15\/real-time-interactive-ip-lan-monitoring-with-iptraf-tool\/","title":{"rendered":"Real Time Interactive IP LAN Monitoring with IPTraf Tool"},"content":{"rendered":"<p>There are number of monitoring tools available. Moreover, i came across a\u00a0<strong>IPTraf<\/strong>\u00a0monitoring tool which i find very useful and it\u2019s a simple tool to monitor\u00a0<strong>Inbound<\/strong>\u00a0and\u00a0<strong>Outbound<\/strong>\u00a0network traffic passing through interface.<\/p>\n<div id=\"attachment_2175\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-2175\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf-300x210.jpg\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf-300x210.jpg 300w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf.jpg 534w\" alt=\"Install IPTraf Network Monitoring\" width=\"300\" height=\"210\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Install IPTraf LAN Monitoring<\/p>\n<\/div>\n<p><strong>IPTraf<\/strong>\u00a0is an ncurses-based\u00a0<strong>IP LAN<\/strong>\u00a0monitoring tool (text-based) wherein we can monitor various connections like\u00a0<strong>TCP<\/strong>,\u00a0<strong>UDP<\/strong>,\u00a0<strong>ICMP<\/strong>,\u00a0<strong>non-IP<\/strong>\u00a0counts and also\u00a0<strong>Ethernet<\/strong>\u00a0load information etc.<\/p>\n<p>This article guides you on how to install\u00a0<strong>IPTraf<\/strong>\u00a0monitoring tool using\u00a0<strong>YUM<\/strong>\u00a0command.<\/p>\n<h3>Installing IPTraf<\/h3>\n<p><strong>IPTraf<\/strong>\u00a0is part of the Linux distribution and can be installed on\u00a0<strong>RHEL<\/strong>,\u00a0<strong>CentOS<\/strong>\u00a0and\u00a0<strong>Fedora<\/strong>\u00a0server\u2019s using yum command from terminal.<\/p>\n<pre># yum install iptraf<\/pre>\n<p>Under\u00a0<strong>Ubuntu<\/strong>, iptraf can be installed using\u00a0<strong>Ubuntu Software Center<\/strong>\u00a0or \u2018<strong>apt-get\u2019<\/strong>\u00a0method. For example, use the \u2018<strong>apt-get<\/strong>\u2018 command to install it.<\/p>\n<pre>$ sudo apt-get install iptraf<\/pre>\n<h5>IPTraf Usage<\/h5>\n<p>Once\u00a0<strong>IPTraf<\/strong>\u00a0installed, run the following command from the terminal to launch an ascii based menu interface that will allow you to view current\u00a0<strong>IP traffic monitoring<\/strong>,\u00a0<strong>General interface statistics<\/strong>,\u00a0<strong>Detailed interface statistics<\/strong>,\u00a0<strong>Statistical breakdowns<\/strong>,\u00a0<strong>Filters<\/strong>\u00a0and also provide some\u00a0<strong>configure<\/strong>\u00a0options where you can configure as per your need.<\/p>\n<pre>[root@tecmint ~]# iptraf<\/pre>\n<div id=\"attachment_2165\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2165\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf.png\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf.png 600w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf-300x188.png 300w\" alt=\"Start IPTraf \" width=\"600\" height=\"376\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">IPTraf Startup Screen<\/p>\n<\/div>\n<p>The iptraf interactive screen, displays a menu system with different options to choose from. Here are the some screenshots that shows real time IP traffic counts and interface statistics etc.<\/p>\n<div id=\"attachment_2166\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2166\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf1.png\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf1.png 600w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf1-300x188.png 300w\" alt=\"IPTraf System Menu\" width=\"600\" height=\"377\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">IPTraf System Menu<\/p>\n<\/div>\n<h5>IP traffic monitor<\/h5>\n<div id=\"attachment_2167\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2167\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf2.png\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf2.png 600w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf2-300x188.png 300w\" alt=\"IP Traffic Monitor\" width=\"600\" height=\"377\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">IP Traffic Monitor<\/p>\n<\/div>\n<h5>General interface statistics<\/h5>\n<div id=\"attachment_2168\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2168\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf3.png\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf3.png 600w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf3-300x188.png 300w\" alt=\"IPTraf General interface statistics\" width=\"600\" height=\"377\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">IPTraf General interface statistics<\/p>\n<\/div>\n<h5>Detailed interface statistics<\/h5>\n<div id=\"attachment_2169\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2169\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf5.png\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf5.png 600w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf5-300x187.png 300w\" alt=\"IPTraf Detailed interface statistics\" width=\"600\" height=\"375\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">IPTraf Detailed interface statistics<\/p>\n<\/div>\n<h5>Statistical breakdowns<\/h5>\n<div id=\"attachment_2170\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf51.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2170\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf51.png\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf51.png 600w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf51-300x187.png 300w\" alt=\"IPTraf Statistical breakdowns\" width=\"600\" height=\"375\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">IPTraf Statistical breakdowns<\/p>\n<\/div>\n<h5>LAN station monitor<\/h5>\n<div id=\"attachment_2171\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2171\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf6.png\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf6.png 600w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf6-300x188.png 300w\" alt=\"IPTraf LAN station monitor\" width=\"600\" height=\"377\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">IPTraf LAN station monitor<\/p>\n<\/div>\n<h5>Configure<\/h5>\n<div id=\"attachment_2172\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2172\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf7.png\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf7.png 600w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf7-300x189.png 300w\" alt=\"IPTraf Configure\" width=\"600\" height=\"378\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">IPTraf Configure<\/p>\n<\/div>\n<h5>IPTraf Options<\/h5>\n<p>Using \u201c<strong>iptraf -i<\/strong>\u201d will immediately start the IP traffic monitor on a particular interface. For example, the following command will start the IP traffic on interface\u00a0<strong>eth0<\/strong>. This is the primary interface card that attached to your system. Else you can also monitor all your network interface traffic using argument as \u201c<strong>iptraf -i all<\/strong>\u201c.<\/p>\n<pre># iptraf -i eth0<\/pre>\n<div id=\"attachment_2173\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2173\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf8.png\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf8.png 600w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf8-300x190.png 300w\" alt=\"IPTraf Eth0 Monitoring\" width=\"600\" height=\"380\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">IPTraf Eth0 Monitoring<\/p>\n<\/div>\n<p>Similarly, you can also monitor\u00a0<strong>TCP\/UDP<\/strong>\u00a0traffic on a specific interface, using the following command.<\/p>\n<pre># iptraf -s eth0<\/pre>\n<div id=\"attachment_2174\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2174\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf9.png\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf9.png 600w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2013\/02\/IPTraf9-300x188.png 300w\" alt=\"IPTraf TCP\/UDP Monitoring\" width=\"600\" height=\"376\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">IPTraf TCP\/UDP Monitoring<\/p>\n<\/div>\n<p>If you want to know more options and how to use them, check iptraf \u2018<strong>man page<\/strong>\u2018 or use the command as \u2018<strong>iptraf -help<\/strong>\u2018 for more parameters. Fore more information visit the\u00a0<a href=\"http:\/\/iptraf.seul.org\/\" target=\"_blank\" rel=\"nofollow noopener\">official project page<\/a>.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/real-time-interactive-ip-lan-monitoring-with-iptraf-tool\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are number of monitoring tools available. Moreover, i came across a\u00a0IPTraf\u00a0monitoring tool which i find very useful and it\u2019s a simple tool to monitor\u00a0Inbound\u00a0and\u00a0Outbound\u00a0network traffic passing through interface. Install IPTraf LAN Monitoring IPTraf\u00a0is an ncurses-based\u00a0IP LAN\u00a0monitoring tool (text-based) wherein we can monitor various connections like\u00a0TCP,\u00a0UDP,\u00a0ICMP,\u00a0non-IP\u00a0counts and also\u00a0Ethernet\u00a0load information etc. This article guides you on &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/15\/real-time-interactive-ip-lan-monitoring-with-iptraf-tool\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Real Time Interactive IP LAN Monitoring with IPTraf Tool&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11616","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=11616"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11616\/revisions"}],"predecessor-version":[{"id":11617,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11616\/revisions\/11617"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=11616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=11616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=11616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}