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
- Host: GitHub
- URL: https://github.com/adityashrm21/network-usage-tracker
- Owner: adityashrm21
- License: mit
- Created: 2016-05-29T06:59:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-10-10T08:47:25.000Z (about 5 years ago)
- Last Synced: 2025-04-29T05:35:18.216Z (6 months ago)
- Topics: network-programming, networks, python, python-2, python-script, tracker, usage-control, usage-logger
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 12
- Watchers: 1
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!