I wrote this script for any normal distro
This calculates data written in 10 seconds to get average.
Also monitors copying process , if possible , to know when to stop monitoring
echo PID is $processid
if [ "$1" = "--help" ]
echo ./general \<device_name\> \<PID\>
echo mention PID as \'no\' \(without