Show file growing rate in real time
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.
$ frate /var/log/nginx/access.log Lines: 195.0/s, Avg: 174.6/s | Write: 18.5KB/s, Avg: 16.5KB/s
Install using pip:
pip install frate
Download and set executable permission on the script file:
chmod +x frate.py
Download and run using the python interpreter:
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
- Works on Python 2 and Python 3
- Tested on Linux and Windows (Cygwin)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size frate-0.3.tar.gz (2.7 kB)||File type Source||Python version None||Upload date||Hashes View hashes|