Different high_cpu_usage

I am in a little bit of confusion,
using ps command I got arround 1.43%
and using top command I got around 9.05% of cpu_usage.
Which to take in consideration?
@gouravsardana, @amanagar

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?

1 Like

Get the cpu_usage by using top command.