Connection monitoring utility
Project description
README
This package provides a long-running command to measure network performance.
Following figures are recorded to a csv file:
- packets sent
- packets received
- network latency
Installation
- Clone the repo and
cd
in created folder; - Install the package:
pip install -e .
If you wish to contribute, after step 1. and before step 2., do the following:
- Create a
virtualenv
, activate it, andpython -m pip install --upgrade pip
- Install the dev dependencies:
pip install -r dev-requirement.txt
Usage
Open a terminal, activate the virtualenv if appropriate, and simply type::
monitor
Available options:
-
-o FILENAME
Filename to write the stats into. By default, the stats go in current folder, in file named
'network_data.csv'
.Writing is in append mode; previous data is kept.
-
-h HOST
Address to connect to, to measure latency. Currently defaults to
'http://siinergy.net'
(my company server). -
-v
Verbosity of the logging message. Use it to show measurements to command line.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for connection_monitor-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9d9cbf509a3b4c2eb7d25cb52c3aa12e7f5cce72765c5eae2de5dfa25ec1d91 |
|
MD5 | 3763cbffcf6701e7b544ff571cab31c8 |
|
BLAKE2b-256 | 620459ccaebfeb7d0aa14300d6881f381d952c95e2256d2c8210bf3c5231a407 |