Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

You got to love the Unix shell, I've been Unix everyday for twenty plus years and I still find new commands/utils that make my day easier.

 

Check out Pipe Viewer "pv" and watch the data transferring between pipes, in terms of data rate.

 

Replace your

$ ( cd /source ; tar cf - .) | (cd /target ; tar xf - )

with

$ (cd iso ; tar cf - . ) | pv | (cd ~/Desktop/test ; tar xf - )
24MB 0:00:01 [ 35MB/s] [<=>                        ] 

The following IBM article explains it better than I could.

Speaking UNIX: Peering into pipes

 

This is now installed on all my Linux/Solaris boxes.

Ubuntu - sudo apt-get install pv

Solaris - Freeware List for SPARC and Solaris 10

 

Andy

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...