check internet usage by process
sudo lsof -ai
This will print all current network connections, showing which processes are using the network.
sudo lsof -ai
This will print all current network connections, showing which processes are using the network.