Giter VIP home page Giter VIP logo

turtle's Introduction

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:

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.

❯ 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

turtle's People

Contributors

omarahm3 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.