The tool purpose is to monitor in realtime (via a progress bar), the progress of all the files in read mode that the process is reading.
This is a Python implementation of the "pv -d" classic utility, with a very simple code, using psutil & tqdm libraries and with extra features.
- git clone https://github.com/DorYeheskel/progress-files.git
- pip install -r requirements.txt
- python follow_pid.py <optional arguments>
To see all the flags options:
> follow_pid.py --help
Running:
> follow_pid.py <optional arguments>
Run a process and run the script with the given pid, to see the reading progress bar:
(Note: if you want to get the latest process id, you can also write $!)
Same as before, but without given any pid:
(Note: this option doesn't exist in the classic "pv -d")
Using an optional flags, such as progress bar size and minimum size for a file to have a progress bar (in Mb):