WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: pipe viewer  (Read 3566 times)

Offline billium

  • Newbie
  • *
  • Posts: 6
pipe viewer
« on: April 09, 2016, 05:37:10 AM »
I would like to have pipe viewer for monitoring dd.  As it is no longer a standard extension I will investigate making an extension.  Before I do, I was wondering why it was dropped.  Is it for a technical reason or nobody had any use for it?
Thanks.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: pipe viewer
« Reply #1 on: April 09, 2016, 06:29:05 AM »
You could download it from here:

http://tinycorelinux.net/4.x/x86/tcz/pv.tcz

..try it out and, if it works, it can be copied to the current repo.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: pipe viewer
« Reply #2 on: April 09, 2016, 08:49:12 AM »
Isn't that what "tee" is for?

Offline billium

  • Newbie
  • *
  • Posts: 6
Re: pipe viewer
« Reply #3 on: April 09, 2016, 01:44:32 PM »
Thanks very much for that Juanito, works great for me.
X86 up-to-date tinycore.

Looking at what tee does, it copies the o/p, whereas pv shows the progress through a pipe.
I did not know about tee and have never tried it. Tee also slows down the pipe, from what I have just read.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: pipe viewer
« Reply #4 on: April 09, 2016, 03:27:49 PM »
Tee lets you see the pipe contents, which is what I was thinking you wanted. You can use it to get clever by tee'ing to a fifo then having another program read the fifo and do stuff, or just watch stuff go by while you are saving a log too.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: pipe viewer
« Reply #5 on: April 10, 2016, 02:17:32 AM »
pv copied to 7.x x86 repo