Torch on high bandwidth usage

I need to have script which logs the top 10 bandwidth connections when ever the total bandwidth of specific interface reaches a threshold like 100 Mbps
Is it possible to be done via Mikrotik scripting?
If so which tools should be used? torch ? any sample on it?