You have take
top command into consideration and observe the CPU usage during file transfer.
You can also use pidstat command to monitor data for different time gap and average the values. Refer the link given in the milestone.
but pidstatt gives cpu usage 0.0 for all the files whereas top gives some diff and >0 result for some files so is it good to use pidstat values?
Get the cpu_usage by using