https://github.com/omarahm3/turtle
Network traffic monitoring tool that gather backend data into a database, currently supported backends are bandwhich and nethogs.
https://github.com/omarahm3/turtle
bandwhich nethogs network-monitoring
Last synced: 5 months ago
JSON representation
Network traffic monitoring tool that gather backend data into a database, currently supported backends are bandwhich and nethogs.
- Host: GitHub
- URL: https://github.com/omarahm3/turtle
- Owner: omarahm3
- Created: 2022-09-26T18:39:22.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-28T20:34:45.000Z (over 3 years ago)
- Last Synced: 2024-06-20T13:36:59.300Z (almost 2 years ago)
- Topics: bandwhich, nethogs, network-monitoring
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Turtle
Network traffic monitoring tool that gather backend data into a database, currently supported backends are bandwhich and nethogs.
## Why
While programmes like nethogs and bandwhich are excellent for tracking network bandwidth, I wanted something that could save data persistently so that I could verify it later. As a result, turtle was developed. I can later check the logs by simply looking into a database.
## Install
If you already have go installed:
```bash
go install github.com/omarahm3/turtle@latest
```
Or from releases page
## Run
Since turtle is using nethogs & bandwhich which requires sudo access to collect network traffic data, turtle must be running with sudo so that it can spawn backend processes properly.
```bash
❯ sudo turtle -h
Log nethogs traffic per processes and applications
Usage:
turtle [flags]
turtle [command]
Available Commands:
clear Clear database
completion Generate the autocompletion script for the specified shell
help Help about any command
list List collected information
Flags:
-b, --bandwhich use bandwhich as a underlayer backend (default true)
-h, --help help for turtle
-n, --nethogs use nethogs as a underlayer backend
```
Turtle will write all information on a DB under: `/var/log/.turtle.db`