get network traffic by process code example Example: linux check which app is using network sudo apt-get install nethogs && sudo nethogs