Why is htop producing different reports than Activity Monitor?
I'm using htop on my Mac. I put it side by side with Activity Monitor, but the reports are widely different.
On Activity Monitor, I can get finder using up to 100% of CPU, while it doesn't show at all the process on htop. Is there a better tool for monitoring processes for Yosemite?
In order to get accurate processes, cpu usage and accumulative time, the user running htop
should be root. This is not the case with top
, because it has the "set-user-ID-on-execution bit" (suid) set.
Execute sudo htop
from your user terminal or if you trust your local users add the suid to the binary (# chmod u+s path-to-htop-binary
).