Since NetHogs heavily relies on /proc, it currently runs on Linux only.
Install nethogs in ubuntu
Open the terminal and run the following command
sudo apt-get install nethogs
nethogs [-d] [-h] [-p] [-t] [-V] [device(s)]
The -d switch delay for refresh rate.
The -h switch display available commands usage.
The -p switch sniff in promiscious mode (not recommended).
The -t switch tracemode.
The -V switch prints Version info.