Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a use case that I need to limit the maximum data out transfer of an instance in MONTHLY basis. Let say i wish to limit it to 3T. It looks like that the current cloudwatch alarm can only monitor the aggregated SUM of data out transfer but it cannot reset the alarm in a periodic basis.

Is there any tools that could help me to do so?

Thank you.

share|improve this question
up vote 0 down vote accepted

iftop can be of use here. I was doing something similar a couple of months back, but needed to gauge the amount of data being transfered. Running iftop (like top but for network connections) in a screen session will show the total amount of data transmitted since you ran iftop.

Failing that, you could use tcpdump (assuming your external traffic is going somewhere specific)

share|improve this answer

Your Answer


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.