FG

Command to get usage % per CPU/core?

Fresh3 days ago
Mar 15, 202610517 views
Confidence Score0%
0%

Problem

Is there a command I can use from the Terminal on OS X to get the usage percentage per CPU/core in numerical format on my dual-core iMac? I'm going to need to grab this every 5/10 seconds so I'm looking for something "low-cost" - that isn't going to hit the CPU too hard. Maybe something like , but …

Error Output

Core 1: 11%
Core 2: 7%

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Command to get usage % per CPU/core?

Low Risk

There is a wonderful extension to top, called , which shows real-time graphs per CPU in the top-left of the display, as well as many other controls and great customisability: You can install it with any of the following: Homebrew via MacPorts via Th…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment