Giter Site home page Giter Site logo

pinger's Introduction

pinger

An attempt to automate a data-collection function for a networking class. The homework assignment wasn't mine, but I like the idea of making a project complete itself.

Before running, be sure to install the necessary dependencies :


pip install -r requirements.txt

I would recommend doing this in a virtual environment, but I trust your judgement.

To use, run setup.py in python3. You will be prompted for the number of websites and the respective URLs you wish to ping. Please skip the "www." in your URLs but feel free to include any extensions after your TLD. Note: multiple pings to the same site may result in errors, the output files are named using prior to the TLD and this may cause name overwrites.

After this, you will be prompted for the paramaters of the full test you wish to run. Enter the delay between ping exercises and the number of exercises you wish to run.

After running setup.py, you will have a shell script to run ping requests asynchronously and simultaneously to each website in question. You will also have a script to govern the aforementioned ping request script. Their outputs will be inside a folder called 'output', each in their own respective text file. To run, simply type "./manager.sh" and wait for the requests to complete. Execution permission should already be enabled for both files.

After the ping requests complete, calculate.py will plot all of the data in question as well as print descriptive statistics for all of the ping requests to the console.

pinger's People

Contributors

ekatynski avatar

Watchers

 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.