FG

On Linux, how to tell how many cores of the machine are active?

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

Problem

On Linux, how to tell how many cores of the machine are active? I assume a test for this would work for Android too. I need to know if more than one core is ever active. Was wondering to test this by having a process create many threads. Is it possible for a thread to query which processor it is on…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: On Linux, how to tell how many cores of the machine are active?

Low Risk

You can use to list the utilization of each core. Press 1 if necessary to split the CPU row into a separate row for each core. You can also add a column that shows the last-used core for each process. Press f to bring up the field list, then j to ac…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment