-1

I have a vm on Windows Azure running centos6 as dev node, and have recently experiencing a huge increase in outgoing traffic.

VM was stopped and after started by 1 day it shows 236.63 GB on outgoing traffic, server not running any applications, only 1 landing page.

need help how to detect what causing the traffic and how to prevent it, since it's reflecting badly on my bill.

  • Voing to close. "Hire an admin that knows what he does" is the only viable answer as per site rules. It is obvious the OP is over his head to maintain a secure environment. – TomTom Sep 22 '14 at 09:00

2 Answers2

1

To find out which processes are using your bandwidth, try nethogs, e.g. nethogs eth1.

Andrew Schulman
  • 8,561
  • 21
  • 31
  • 47
0

You can use this to identify and search for active network connections:

lsof -i -P +c 0 +M
Andy
  • 344
  • 1
  • 8
  • Some explanation would be helpful. In particular, what does the grep command do? – Andrew Schulman Sep 22 '14 at 08:34
  • From grep manual: http://unixhelp.ed.ac.uk/CGI/man-cgi?grep -> -i, --ignore-case. Is not mandatory for the command. – Andy Sep 22 '14 at 08:45
  • I'm familiar with grep, and `grep "$1"` doesn't make any sense. It will probably be interpreted by the shell, and as a regex it doesn't work. So please explain what it's supposed to do. – Andrew Schulman Sep 22 '14 at 08:55
  • My mistake. I admit it. Edited the post and removed "grep" part that did nothing usefull. No positional parameter. – Andy Sep 22 '14 at 09:36