hishamhm / htop

htop is an interactive text-mode process viewer for Unix systems. It aims to be a better 'top'.
GNU General Public License v2.0
5.84k stars 581 forks source link

cpu usage is nan% on Mac #967

Closed zhiyongwu closed 4 years ago

zhiyongwu commented 4 years ago
image

And after a few seconds(about 2-4 on my mac) it works.

➜ ~ brew info htop htop: stable 2.2.0 (bottled), HEAD Improved top (interactive process viewer) https://hisham.hm/htop/ /usr/local/Cellar/htop/2.2.0_1 (11 files, 195.7KB) * Poured from bottle on 2019-11-20 at 16:42:06 From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/htop.rb ==> Dependencies Build: pkg-config ✔ Required: ncurses ✔ ==> Options --HEAD Install HEAD version ==> Caveats htop requires root privileges to correctly display all running processes, so you will need to run sudo htop. You should be certain that you trust any software you grant root privileges. ==> Analytics install: 39,494 (30 days), 157,275 (90 days), 680,092 (365 days) install_on_request: 38,838 (30 days), 155,264 (90 days), 662,356 (365 days) build_error: 0 (30 days)

System :Mac OS 10.15.1 (19B88)