3

I have a Ubuntu 16.04 server (Xenial Xerus). My server statistics say that last night there was a bandwidth peak at 3+ TB, and I don't know why. I tried SLURM, and it showed that I actually used that traffic:

Enter image description here

Is there any way I can find out what caused this traffic?

Law29
  • 3,557
  • 1
  • 16
  • 28
Sibidharan
  • 135
  • 5

2 Answers2

5

If you don't already have monitoring installed and configured then you have not history. You can't get the information you want.

user9517
  • 115,471
  • 20
  • 215
  • 297
4

If you do not have anything currently installed that is monitoring and logging then you do not have any way to narrow down which process(s) were consuming bandwidth. I would recommend vnstat or mrtg for overall usage statistics and nethogs for narrowing down which process is using your network bandwidth.

You can install all three by running these commands:

sudo apt-get update
sudo apt-get install nethogs
sudo apt-get install vnstat vnstati
sudo apt-get install mrtg mrtg-contrib mrtg-ping-probe mrtg-rrd mrtgutils mrtgutils-sensors pcp-import-mrtg2pcp

This will install each of the programs along with their associated modules and utilities.

Braiam
  • 642
  • 4
  • 23
NGX
  • 71
  • 5
  • Ok good. Can I know how to check what process used my bandwidth? That is most important in my case!! – Sibidharan Sep 09 '16 at 16:47
  • Great. Could you brief more on how to solve this issue? I suspect a breach in my server. It is sending out traffic, like 3TB in a day.. I have to find what is doing it and purge it. – Sibidharan Sep 09 '16 at 16:51