adityashrm21 / Network-Usage-Tracker

A python script to keep track of, check and control the network usage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Network-Usage-Tracker

A python script to keep a track of network usage and notify you if it exceeds a specified limit (only support for wifi right now)

Requirements:

#####This script needs Python 2+

You may also need to install vnstat if you don't have it already installed

$ sudo apt-get install vnstat

Usage:

$ python bandwidth.py xxx MiB/GiB &

The '&' has been added to run the process in background. If you want to stop the process at any time use :

$ ps -ef

to get the list of running processes and then get the pid of the process you want to kill and do :

$ sudo kill pid

To do:

  1. add support for ethernet network usage

Feel free to Pull requests!

About

A python script to keep track of, check and control the network usage

License:MIT License


Languages

Language:Python 100.0%