I need information specific to CPU core. Is there any api exposed for mac [duplicate]
You can install the program htop
from Homebrew, which will give you this information.
When you have Homebrew installed, run the following command to install:
brew install htop
Afterwards you can run the program like this:
htop
If you go into the Setup
menu by typing S
and select Display Options
, you can enable detailed CPU information. The CPU usage bar then displays information about the CPU usage, system (i.e. kernel) time, io time, etc.