Check status of pv tool on remote machine

49 views Asked by At

I'm trying to run the script on the remote machine. Simple script.sh:

#!/bin/bash
dd if=/dev/zero | pv | dd of=/test.img

I want to know if it is possible to see the status of pv when I run this script from my pc on machineB ssh root@machineB 'script.sh'?

I expect to see the status of pv.

0

There are 0 answers