You copied the Doc URL to your clipboard.

info cores

This command displays a list of running processors, threads, and user space processes as applicable. It shows the number (a unique number assigned by the debugger), OS ID (pid), OS Parent ID, kind, OS state, current state, and related stack frame including the function names and source line number.

Syntax

info cores [-f filter_name]

Where:

filter_name

The available options for filter_name depend on the connected target.

The following filters are available on all connections:

all

Displays processors, threads, and user space processes.

The following filters are only available on Linux kernel connections:

cores

Displays processors. This is the default.

processes

Displays user space processes.

threads

Displays threads.

Example

info cores                  # Display all processors
info cores -f processes     # Display user space processes on a Linux kernel connection