Use linux's pv command pipe viewer
This article mainly introduces the use of linux pv command pipeline viewer, the article is very detailed, has a certain reference value, interested friends must read it!
The pv command is short for Pipe Viewer and is developed by Andrew Wood. It means to display information about the progress of data processing through a pipeline. This information includes the time elapsed, the percentage completed (shown by the progress bar), the current speed, all data transferred, and the estimated remaining time.
Syntax format: pv [parameters] [file]
Common parameters:
Reference example
Displays useful information about the operation, including the amount of data that has been transferred, the time spent, the transfer rate, the progress bar, the percentage of progress, and the remaining time:
[root@linuxcool ~] # pv / media/himanshu/1AC2-A8E3/fNf.mkv >. / Desktop/fnf.mkv
Use the-n option to allow the pv command to display integer percentages, one number per line on the standard error output, instead of the usual visual progress bar:
[root@linuxcool ~] # pv-n / media/himanshu/1AC2-A8E3/fNf.mkv >. / Desktop/fnf.mkv
To list the physical volumes with a specific name in the storage pool, enter the following command:
[root@linuxcool] # pv-list-attr pv_name=hdisk7
To list the physical volumes with a specific name in the storage pool, enter the following command:
[root@linuxcool] # pv-list-attr pv_name=hdisk7 POOL_NAME: testsp TIER_NAME: tier1 FG_NAME: fg2 PV_NAME SIZE (MB) STATE UDID hdisk7 10240 ONLINE 3E213600A0B80006E25060000D2E64F755F420F1828 FAStT03IBMfcp is all the contents of the pipeline viewer using linux's pv command. Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!