Friday, June 12, 2015

linux - Linode VPS - monitor outgoing traffic


I recently got my Linode VPS. And I have a rather low-traffic site being hosted on it. But when I look at the traffic, it has high outgoing traffic peaking at regular intervals and I am not sure what it is or how I can find out.


enter image description here


How could I detect what is causing this? Or what is the best tool for this?


Answer



A couple strategies that might work are outlined here:


http://www.dedoimedo.com/computers/linux-cool-hacks.html


The two ideas that I think are the best bets are:



  • Catch it in the act using top in batch mode

  • Turn on process accounting (pacct)


Since this seems to be happening at regular intervals, it shouldn't be too difficult to catch it at the right time.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...