Reputation: 16837
Is there any way in Linux to measure number of outgoing packets from a machine in a certain amount of time, lets say per second or per minute?
Upvotes: 2
Views: 1670
Reputation: 1405
There are quite a few programs that can do this (most of the good ones are not standard in base distrobution). The one I highly recommend is iptraf
. Another one is ntop
. Other than that, writing a custom shell script to cat the output of ifconfig interface
's TX packets and have it loop at a desired interval can also do the trick.
Upvotes: 1