Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

mac os htop not returning cpu

# Check htop installation:
brew reinstall htop
# Allow it to run without passwd:
sudo visudo
# -> Add this: 
%admin ALL=(ALL) NOPASSWD: /usr/local/bin/htop
# Save (:wq, :x)
# Create an alias for htop:
# Open your rc file (~/.bashrc, ~/.profile, ~/.zshrc)
vi ~/.bashrc
# -> Add this: 
"alias htop='sudo htop'"
 
PREVIOUS NEXT
Tagged: #mac #os #htop #returning #cpu
ADD COMMENT
Topic
Name
4+8 =