![]() L TCP Connections (Source Host:Port) qqqqqqqqqq Packets qqq Bytes Flags Iface k Once you select the "IP traffic monitor" option, with all interfaces, you will be shown an output like the below one. Press Enter at the first welcome screen to see the options available. It shows two things, the source address and its network port. Iptraf command will give you an output like the one shown below. Then fire the iptraf command to find out the traffic usage with interface and port details. Read: Iptraf and Iftop command usage and examplesįirst install iptraf or iftop by either YUM or apt-get depending upon your distribution. ![]() If you are new to iftop and iptraf, I will recommend reading my below article which explains both of these tools with their use cases. Although this is a bit tedious method to find out process sending traffic, I have used this method several times and it serves the purpose. The first method is to use tools like iptraf or iftop to identify the ports sending much of the traffic, and then find what is running on that specific port from the list. Hence we will be discussing only command line tools and techniques to achieve this. Anyways on a production server we will not be having a GUI based tool to fetch such information. But most of them only shows the total network usage by the system(it does not show any per process details.). Most of the graphical user interface on Linux desktop has GUI based applets to fetch this details. I request my readers to share any other command line techniques/tools that can be used to achieve this. But before looking at that tool we will try to fetch details with other methods. ![]() In this article we will be looking at one such tool. This is not that easy to do without any standard tool designed only for that purpose. Being a system administrator, there are times when we need to check which process is taking high network bandwidth on a machine. ![]()
0 Comments
Leave a Reply. |