Pipe Viewer
ivarch.com
Pipe Viewer
1–10 of 51 posts
Re: Pipe Viewer
#2 tail -f /some/log | grep something | pv -lr > /dev/null
or
tcpdump expression | pv -lr > /dev/nullRe: Pipe Viewer
#3pv -L 200K bigfile.iso'
Complete with a progress bar, speed, and ETA.
Re: Pipe Viewer
#4Re: Pipe Viewer
#5pv is a great tool. One of it's lesser known features is throttling; transfer a file without dominating your bandwidth: pv -L 200K bigfile.iso' Complete with a progress bar, speed, and ETA.
Re: Pipe Viewer
#6Re: Pipe Viewer
#7pv -d $(pidof xz):1 is great for when you realize too late that something is slow enough that you want a progress indication, and definitely do not want to restart from scratch.
Re: Pipe Viewer
#8pv is a great tool. One of it's lesser known features is throttling; transfer a file without dominating your bandwidth: pv -L 200K bigfile.iso' Complete with a progress bar, speed, and ETA.
Oh damn that's neat I never thought to use `ssh` directly when transferring a file, I always used `scp bigfile.iso name@server.org:path/in/destination`
from man page:
-l limit
Limits the used bandwidth, specified in Kbit/s.
Re: Pipe Viewer
#9Ie. within pv, is it the reading the input stream or the writing the output stream that is blocking most of the time?
Re: Pipe Viewer
#10pv -d $(pidof xz):1 is great for when you realize too late that something is slow enough that you want a progress indication, and definitely do not want to restart from scratch.
How `pv -d` work ? Does it use perf probes or attach to the target PID ?