frate
Measure file growing rate in real time.
Show the number of lines and KB per second the file is growing.
One useful use case is to monitor the “acess.log” of a webserver, to get a estimative of requests per second.
Simple example:
$ frate /var/log/nginx/access.log Lines: 195.0/s, Avg: 174.6/s | Write: 18.5KB/s, Avg: 16.5KB/s
Install
Install using pip:
pip install frate
or
Download and set executable permission on the script file:
chmod +x frate.py
or
Download and run using the python interpreter:
python frate.py
Usage
Usage: frate file show file growing rate, 'control-c' to stop Options: --version show program's version number and exit -h, --help show this help message and exit
Notes
Works on Python 2 and Python 3
Tested on Linux and Windows (Cygwin)
Metadata
Release files for frate 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| frate-0.3.tar.gz | 2.7 kB | Without provenance | Details |
Release files / frate-0.3.tar.gz
| Download URL | frate-0.3.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6235e65ace75409dff610bdaa072ead55de8855d2e1a45c2071e2b86e3683b06
|
|
BLAKE2b-256 checksum How to use checksums |
e5ef26626cf751f3fc9b7937ce14da5f832b2ec9e17aefe2d84404406dc05555
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/33.1.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/2.7.14
|
Security for frate 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.