Add a rate-limiting example.
This commit is contained in:
@@ -558,6 +558,15 @@ pv \-\-watchfd 1234
|
||||
.EE
|
||||
.in
|
||||
.PP
|
||||
Rate-limiting the transfer between two processes in a pipeline, with no
|
||||
display:
|
||||
.PP
|
||||
.in +4
|
||||
.EX
|
||||
producer | pv \-\-quiet \-\-rate\-limit 1M | consumer
|
||||
.EE
|
||||
.in
|
||||
.PP
|
||||
Sending logs to a processing script, showing the most recent line as part of
|
||||
the progress display:
|
||||
.PP
|
||||
|
||||
@@ -554,6 +554,11 @@ process 1234:
|
||||
|
||||
pv --watchfd 1234
|
||||
|
||||
Rate-limiting the transfer between two processes in a pipeline, with no
|
||||
display:
|
||||
|
||||
producer | pv --quiet --rate-limit 1M | consumer
|
||||
|
||||
Sending logs to a processing script, showing the most recent line as
|
||||
part of the progress display:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user