June 23, 2015

Why the result of Top is not consistent with Psutil

Dear all,

I have written a script and measure the CPU utlization of the script using psutil inside it. When I compare the result with Top, there was a big differece even thought I used -d to minimize the delay? Why ?

Thank you!



Click Here!