Giter VIP home page Giter VIP logo

cownet's Introduction

Cownet

I wanted to view my up to date network usage in a easy to read and friendly way. So I built a tool that pulls the data in from netstat, and displays a cleaned up output in Cowsay.

Table of Contents

Download

The latest stable release is 0.3.0 Beta.

Setup

This is a Python tool that is presently only built for OSX. To render the output as seen above we use figlet and cowsay. To get started you will need homebrew to manage packages such as Python, figlet, and cowsay. To install please run the following command:

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Once homebrew is installed (or if you already have it) you can run the following command:

$ brew install cownet

Usage

$ cownet
                              _
  ___ _____      ___ __   ___| |_
 / __/ _ \ \ /\ / / '_ \ / _ \ __|
| (_| (_) \ V  V /| | | |  __/ |_
 \___\___/ \_/\_/ |_| |_|\___|\__|

 ___________________________________
< Received 173.9 MB / Sent 337.7 MB >
 -----------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

Low calorie "light" mode

$ cownet -l
Received 2.4 GB / Sent 2.4 GB

Help

$ cownet -h

usage: Cownet [-h] [-l] [-i INTERFACE] [-d DELAY] [-v]

optional arguments:
  -h, --help            show this help message and exit
  -l, --light           The low calorie version
  -i INTERFACE, --interface INTERFACE
                        Change the network interface (defaults to en1)
  -d DELAY, --delay DELAY
                        Change the frequency we check your usage data
                        (defaults to 30 seconds)
  -v, --version         show program's version number and exit

License

This tool is protected by the GNU General Public License v2.

Copyright Jeffrey Hann 2013

cownet's People

Stargazers

 avatar

Watchers

 avatar

Forkers

laurentfough

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.