FG

Is there a command in Linux to know the processor number in which a process is loaded?

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

Problem

Is there any command in Linux to figure out, given a process, which processor the process is running? I am interested in figuring out the CPU busy and CPU idle time of that processor.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is there a command in Linux to know the processor number in which a process is loaded?

Low Risk

You can use the command to query and display the active processor. For example, you might run: The column shows that is running on processor 1 and is running on processor 0. See the manpage for ps(1) for more details on how to customize the fields t…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment