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
Prerequisites
Python >= 3.7
, due to usage ofdataclasses
andannotations
;- Normally handled nicely py installation procedure:
click
,requests
, andpsutil
third-party libraries.
Installation
This package is hosted on Pypi
, so it's as easy as:
pip install connection-monitor
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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a731a646602d47a865f95ec278fea7b4d2cad760ab5ddb927ed790b61ad2c12 |
|
MD5 | ec0a8fdb8bc1c76531ffd1481d2ee97b |
|
BLAKE2b-256 | a2af76ccd8726ffb0e5a3b84094df3e8c141c75eeacdc1db1ef368a5714af8a8 |