Giter Site home page Giter Site logo

airtime-pie-chart's Introduction

airtime-pie-chart

Airtime Pie Chart is a tool to evaluate used airtime of IEEE 802.11 / WiFi stations and illustrate them in a Pie Chart.

This tool has been created as part of the fair airtime scheduling research at Open-Mesh Inc.

example pie chart

Compilation

airtime_analyzer depends on:

  • libpcap development files

airtime-pie-chart depends on:

  • GNU R

To compile airtime_analyzer, simply type:

make

Capture WiFi input data

A monitor interface has to be created to capture the radiotap information for each packet. Make sure that network manager is disabled before trying to create this device

iw phy phy0 interface add mon type monitor flags control
ip link set up dev mon

Make sure that no other tool converted the new monitor interface back to a managed interface:

iw dev

Set the correct channel and channel width

iw dev mon set channel 11 HT20

Capture the radiotap information and the start of the packets

tcpdump -i mon -s 200 -w aircap.pcap

The capture can be stopped at any time via CTRL+C

Analyze the pcap file

The airtime_analyzer can parse the airtime.pcap and calculate for each mac address how much time was spend sending it traffic. This data should be stored in a text file to create a pie chart via airtime-pie-chart.R

./airtime_analyzer aircap.pcap > airtime-pie-chart.dat

Generate PIE chart

The data file generated in the previous step can be send through GNU R to generate a simple PIE chart:

R --no-save < airtime-pie-chart.R
xdg-open airtime-pie-chart.png

Author

This software has been written by Sven Eckelmann [email protected] for Open-Mesh Inc.

License

airtime_analyzer is licensed under the terms of version 2 of the GNU General Public License (GPL). Please see the LICENSE file.

airtime-pie-chart's People

Contributors

ecsv avatar simonwunderlich avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

wangyx0055

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.