Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a linux vps server and I want to see the current network connections and upload/download rate of each one. Is there any simple command that fulfill this purpose?

share|improve this question
    
No there isn't. You would need to install something like a netflow collector such as ntop. –  Paul Jun 23 '12 at 22:38

1 Answer 1

up vote 4 down vote accepted

There are many tools available, although you will have to install a network monitoring system to get per-process bandwidth information.

In order of setup ease:

A simple package that does not require a lot of setup is iftop. This will show you bandwidth per process. iftop screenshot This is probably what you want, if you want a simple real-time solution.

  • To just get per-interface bandwidth, bwm-ng is a small package that shows you real-time usage per interface.
  • netstat will list your open connections, and should already be present on most systems
  • ntop is a very useful tool for system monitoring, that can also monitor per-process TCP connections, IF you install a kernel module to support network monitoring.
  • Gacti, nagios, ntop and ganglia are several more heavy weight systems that can do network monitoring per host/system/service/protocol/etc depending on setup for one server to an entire enterprise network. See mediawiki server monitoring for a real-life example of ganglia in action.
share|improve this answer
    
Thanks , that's it ! –  isoman Jun 23 '12 at 23:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.