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
.