Re: how to know the state of the dd's progression

2017-08-10 Thread Tuyosi T
sorry , correct it

./comment-out.bat
dd-progress.bat
x=`ps ax| grep rsd | cut -d ' ' -f 1 | awk 'NR == 1'  `
while true
do
date
kill -INFO $x
sleep 3
echo
echo
done


Re: how to know the state of the dd's progression

2017-08-10 Thread Tuyosi T
thanks for  advices .

dd if=/dev/rsd0c of=/dev/rsd2c bs=64k



and another terminal

dd-progress.bat
---

x=`ps ax| grep rsd | cut -d ' ' -f 1`
while true
do
date
kill -INFO $x
sleep 3
echo
echo
done



then on origina; terminal
--l
3891396608 bytes transferred in 69.591 secs (55917407 bytes/sec)
61949+0 records in
61949+0 records out
4059889664 bytes transferred in 72.601 secs (55919964 bytes/sec)
64521+0 records in
64521+0 records out

appear


--
best regards


Re: how to know the state of the dd's progression

2017-08-09 Thread Nick Holland
On 08/09/17 17:09, Gregor Best wrote:
> Send a SIGINFO to dd.

which ever so nicely is IN THE MAN PAGE.

Nick.



Re: how to know the state of the dd's progression

2017-08-09 Thread Gregor Best
Send a SIGINFO to dd.

-- 
Gregor



Re: how to know the state of the dd's progression

2017-08-09 Thread Todd C. Miller
dd will display progress when it receives SIGINFO, usually bound
to the Control-T keypress.

 - todd



how to know the state of the dd's progression

2017-08-09 Thread Tuyosi T
hi all .

in Linux , i know it by

dd-progress.bat
---
while true
do
date
killall -USR1 dd
echo
echo
sleep 10
date
sleep 10
date
sleep 10
done
---

what about in OpenBSD ?
-
regards