Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use linux's pv command pipe viewer

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report