问题原文
原帖链接 · Sibidharan · CC BY-SA 3.0
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:
Is there any way I can find out what caused this traffic?
已采纳解答
原帖链接 · NGX · CC BY-SA 3.0
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.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
