https://github.com/darkseriuscode/traffic-usage
A simple program collecting and storing a data about your internet usage
https://github.com/darkseriuscode/traffic-usage
Last synced: 4 months ago
JSON representation
A simple program collecting and storing a data about your internet usage
- Host: GitHub
- URL: https://github.com/darkseriuscode/traffic-usage
- Owner: DarkSeriusCode
- License: mit
- Created: 2024-04-02T14:39:39.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-14T22:13:55.000Z (about 1 year ago)
- Last Synced: 2025-02-14T23:21:07.679Z (about 1 year ago)
- Language: C
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Traffic usage
It is a simple program that collects statistics about your internet usage and stores them in a file. It depends on `ncurses`
# Build and usage
```
make
sudo make install
traffic_usage --help
```
By default the program will be installed to `/usr/local/`
At first, run the daemon that will collect statistics: `traffic_usage -d `
where `` is an interface to collect statistics (to see list of all interfaces on your
system use: `traffic_usage -l`)
To kill the daemon use: `traffic_usage -k`
# TUI
You can see the statistics using: `traffic_usage -t`
* `h` - previous month
* `l` - next month
* `j` - scroll down
* `k` - scroll up