Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

Cownet

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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.

  • 0.3.0
  • PyPI
  • Socket score

Maintainers
1

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 <http://linux.die.net/man/8/netstat>, and displays a cleaned up output in Cowsay <http://linux.die.net/man/1/cowsay>.

Setup

This is a Python tool that is presently only built for OSX. To render the output as seen above we use figlet <http://www.figlet.org/>__ and cowsay <http://en.wikipedia.org/wiki/Cowsay>__.

$ pip 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 <http://www.gnu.org/licenses/gpl-2.0.html>`__.

Copyright `Jeffrey Hann <http://jeffreyhann.ca/>`__ 2013

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc