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?

  • Are you root when you run htop? – mspasov Jun 13 '15 at 10:01
  • No, I'm a user in the sudo group – WagnerMatosUK Jun 13 '15 at 15:06
  • Than run 'sudo htop' and you will have task CPU usage and cumulative time. – mspasov Jun 13 '15 at 15:08
  • Makes sense. Do you want add it as an answer? I'll mark as it as such. – WagnerMatosUK Jun 13 '15 at 15:16

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).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .