An open API service indexing awesome lists of open source software.

https://github.com/adityashrm21/network-usage-tracker

A python script to keep track of, check and control the network usage
https://github.com/adityashrm21/network-usage-tracker

network-programming networks python python-2 python-script tracker usage-control usage-logger

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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
```bash
$ sudo apt-get install vnstat
```

### Usage:

```bash
$ 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 :

```bash
$ ps -ef
```
to get the list of running processes and then get the pid of the process you want to kill and do :

```bash
$ sudo kill pid
```
To do:
1. add support for ethernet network usage

Feel free to Pull requests!