Tech »  Topic »  The only Linux command you need for monitoring network traffic - and how to use it

The only Linux command you need for monitoring network traffic - and how to use it


Recently, I needed to check on incoming and outgoing traffic to one of my Linux machines. Fortunately, there's an easy way to do just that.

Marcus Millo/iStock/Getty Images Plus via Getty Images

Follow ZDNET: Add us as a preferred source on Google.

ZDNET's key takeaways

  • There are several ways to monitor network traffic on Linux.
  • You should regularly check on incoming and outgoing traffic.
  • One of the best tools for this is iftop.

Linux has a tool for everything. Sometimes those tools come in the form of an easy-to-use GUI, and other times a command is necessary. For monitoring network traffic, your best bet is the command line.

Once you dive down the rabbit hole of possible commands for this task, you could become overwhelmed with choices -- and with the complexity of some of those commands. 

Also: The first 8 Linux commands every new user should ...


Copyright of this story solely belongs to zdnet.com . To see the full text click HERE