MacBook Pro runs hot, high cpu percentage

For the past few weeks my laptop has been running hot randomly throughout the day. I checked Activity Monitor and noticed that CPU had high percentage usage, with systemstats running at 181%…

To fix this, I did some searching (https://discussions.apple.com/message/23570188#23570188) and found that the systemstats database file can become very large over time. So a little trimming might be in order:

  1. sudo launchctl stop com.apple.systemstatsd
  2. sudo launchctl stop com.apple.systemstats.analysis
  3. mkdir /Users/Shared/oldsysstats
  4. sudo mv /private/var/db/systemstats/* /Users/Shared/oldsysstats
  5. sudo reboot