Skip to content

Follow a process and see in realtime the progress of all the files in read mode that the process is reading (Linux)

License

Notifications You must be signed in to change notification settings

DorYeheskel/progress-files

Repository files navigation

Progress files: (Linux)

What is it:

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.

How to install:

Usage example:

To see all the flags options:
> follow_pid.py --help
Running:
> follow_pid.py <optional arguments>

Example 1:

Run a process and run the script with the given pid, to see the reading progress bar:
grep_1_terminal (Note: if you want to get the latest process id, you can also write $!)

Example 2:

Same as before, but without given any pid:
classic (Note: this option doesn't exist in the classic "pv -d")

Example 3:

Using an optional flags, such as progress bar size and minimum size for a file to have a progress bar (in Mb):
options

Links for an old C tools that show progress bar too:

About

Follow a process and see in realtime the progress of all the files in read mode that the process is reading (Linux)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages