Monitor Ethernet/Wifi activities

2 752
Does anybody know an easy way to hook up a script or program to monitor when Ethernet/Wifi is connected/disconected, gets a new IP and be informed about the traffic (read / write)? Something that does not consume a lot of CPU, i mean all this in real-time!
I came across python-networkmanager that seems to fit the job but i think is dependent on NetworkManager and i completely removed it. Anyone tried it without NetworkManager? Any shell script that could be used? (i will forget about traffic).

I have a resource that might help you.  You can ask https://essayontime.com.au/assignment-help-in-australia to find you more relevant to your requirements scripts. I believe that they can write anything you want.

You have to log in before you can reply Login | Sign Up

Points Rules