atop
atop copied to clipboard
Specify CPU number can show its all tasks
Function: Specify the CPU number (enter 'O') and output the task information that has been running on that CPU for the past 10 seconds in descending order.
Background: When locating the issue of high global CPU utilization, the current atop tool cannot display the running process/thread information on a specified CPU intuitively. This is especially true in CPU binding scenarios where an incorrect binding method may cause such a problem to occur.