Dear All,

I like to run iftop in batch mode and capture our LAN mirror port traffic. This can be working very well in interactive mode.

I seek your help to achieve following.

How to capture hosts download traffic anything more than 100MB(variable) and send a email to Netadmin. Of course I need to write a bit of code to send a email. But at this moment like to know how I run iftop to write inbound hosts list in a file?

Thanks for help,
A J Naik