thread
Command Function
Displays information about a single thread or all threads and sets the debugging scope.
Syntax
Displaying information about a single thread:
thread info [-h | --help] {THREAD_INDEX}
Displaying information about all threads:
thread list [-h | --help]
Setting the debugging scope:
thread set [-h | --help] {THREAD_INDEX}
- The thread command can be abbreviated as t, for example, t info 1.
- The THREAD_INDEX parameter is mandatory and must be a positive integer.
Example
Display the information about thread functions:
1 | thread -h
|
Command output:
The most commonly used thread(t) sub commands are: list Displays all threads in the current rank. info Displays the specified thread in the current rank. set Specifies the currently operated thread. See 'thread(t) COMMAND -h/--help' for more information on a specific command.
Parent topic: Debugging Status Commands