Options (6)
-s, --sizebooleanMeasure the speed and amount of data flow between pipes (`--size` is optional)
{{command1}} | pv {{[-s|--size]}} {{expected_amount_of_data_for_eta}} | {{command2}}booleanFilter a file, see both progress and amount of output data
pv {{[-cN|--cursor --name]}} in {{path/to/file.txt}} | grep {{pattern}} | pv {{[-cN|--cursor --name]}} out > {{path/to/filtered_file.txt}}-d, --watchfdbooleanAttach to an already running process and see its file reading progress
pv {{[-d|--watchfd]}} {{PID}}booleanRead an erroneous file, skip errors as `dd conv=sync,noerror` would
pv {{[-EE|--skip-errors --skip-errors]}} {{path/to/faulty_media}} > {{path/to/image.img}}-L, --rate-limitbooleanStop reading after reading specified amount of data, rate limit to 1K/s
pv {{[-L|--rate-limit]}} {{1K}} {{[-S|--stop-at-size]}} {{maximum_file_size_to_be_read}}-S, --stop-at-sizebooleanStop reading after reading specified amount of data, rate limit to 1K/s
pv {{[-L|--rate-limit]}} {{1K}} {{[-S|--stop-at-size]}} {{maximum_file_size_to_be_read}}Examples (7)
Print the contents of the file and display a progress bar
pv path/to/fileMeasure the speed and amount of data flow between pipes (`--size` is optional)
command1 | pv [-s|--size] expected_amount_of_data_for_eta | command2Filter a file, see both progress and amount of output data
Attach to an already running process and see its file reading progress
pv [-d|--watchfd] PIDRead an erroneous file, skip errors as `dd conv=sync,noerror` would
pv [-EE|--skip-errors --skip-errors] path/to/faulty_media > path/to/image.imgStop reading after reading specified amount of data, rate limit to 1K/s
pv [-L|--rate-limit] 1K [-S|--stop-at-size] maximum_file_size_to_be_read