Progress bar for file descriptors
I ran gzip on an 80Gb file, it's processing, but who knows how much it has done yet, and when it will end? I wish gzip had a progressbar. Or MySQL. Or…
Ok. Now every program that reads a file sequentially can have a progressbar:
Print progress indicators for programs that read files sequentially.
fdprogress monitors file descriptor offsets and prints progressbars comparing them to file sizes.
Pattern can be any glob expression.
usage: fdprogress [-h] [--verbose] [--debug] [--pid PID] [pattern] show progress from file descriptor offsets positional arguments: pattern file name to monitor optional arguments: -h, --help show this help message and exit --verbose, -v verbose output --debug debug output --pid PID, -p PID PID of process to monitor
pv has a
--watchfd option that does
most of what fdprogress is trying to do: use that instead.
fivi also exists, with specific features to show progressbars for filter commands.