Difference between revisions of "Pv (pipe viewer)"
Jump to navigation
Jump to search
↑ https://man7.org/linux/man-pages/man1/pv.1.html
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
* <code>cat /dev/[[urandom]] | [[xz]] | pv > /dev/null</code> | * <code>cat /dev/[[urandom]] | [[xz]] | pv > /dev/null</code> | ||
** <code>cat /dev/[[urandom]] | [[xz]] -T0 | pv > /dev/null</code> | ** <code>cat /dev/[[urandom]] | [[xz]] -T0 | pv > /dev/null</code> | ||
+ | * <code>pv -petrab [[/dev/zero]] > [[/dev/null]]</code> | ||
+ | Test [[network speed]]: | ||
* <code>[[pv]] </dev/zero | ssh REMOTE_SERVER 'cat >/dev/null'</code> | * <code>[[pv]] </dev/zero | ssh REMOTE_SERVER 'cat >/dev/null'</code> | ||
− | |||
− | |||
== Related == | == Related == |
Latest revision as of 08:35, 18 February 2024
pv
[1] Shell pipeline element to meter data passing through
brew install pv
Examples[edit]
cat /dev/urandom | gzip | pv > /dev/null
cat /dev/urandom | bzip2 | pv > /dev/null
cat /dev/urandom | xz | pv > /dev/null
pv -petrab /dev/zero > /dev/null
Test network speed:
pv </dev/zero | ssh REMOTE_SERVER 'cat >/dev/null'
Related[edit]
See also[edit]
cat
,tac
,more
,less
,tail
,mtail
,echo
,stdin
,tr
,column
,paste
,truncate
,logrotate
,xzcat
pv
,progress
,sort
,ncat
,virt-cat
,awk
,join
,col
,fold
,tee
,sponge
,nfs-cat
,journalctl, ccat, icat, EOF
, lolcat- Performance, monitoring, sysstat, metrics, Telemetry
Advertising: