How to Monitor Network Traffic in Linux

How to Monitor Network Traffic in Linux thumbnail
How to Monitor Network Traffic in Linux

A wide variety of Linux networking monitoring tools can provide whatever functionality you require. From very basic graphical user interfaces that will provide you with general information about network activity to command line driven tools that almost infinite data, all of these network monitoring tools are available for free and relatively easy to set up. Once you have the network monitor of your choice installed, keeping tabs on how your bandwidth is used and by which programs is a cinch.

Instructions

  1. ntop

    • 1

      Launch Terminal by selecting “Applications,” then “Accessories,” then “Terminal.”

    • 2

      Install ntop by typing the following command and then pressing “Enter” (you may need to enter your administrative password to proceed):
      sudo apt-get ntop

    • 3

      Grant ntop administrative rights so that it is able to monitor network traffic by entering the following command in Terminal:
      ntop -A

    • 4

      Launch the default ntop monitoring interface by entering the following command in Terminal:
      ntop

    IPTraf

    • 5

      Launch Terminal by selecting “Applications,” then “Accessories,” then “Terminal.”

    • 6

      Install IPTraf by entering the following command in Terminal:
      sudo apt-get iptraf

    • 7

      Launch IPTraf by entering the following command in Terminal:
      iptraf

    vnStat

    • 8

      Launch Terminal by selecting “Applications,” then “Accessories,” then “Terminal.”

    • 9

      Install vnStat by entering the following command in Terminal:
      sudo apt-get vnStat

    • 10

      Launch vnStat by entering the following command in Terminal:
      vnstat

Tips & Warnings

  • All three network monitoring tools feature numerous sophisticated controls that can be utilized by entering the correct command in Terminal. The user manuals available online for each of these programs include detailed instructions on how to utilize the more advanced network monitoring tools available in these programs.

Related Searches:

References

  • Photo Credit Jack Hollingsworth/Photodisc/Getty Images

Comments

You May Also Like

Related Ads

Featured