How do I find the thread ID in Linux?

How do I find the thread ID in Linux?
Answer
Identifying the thread
  1. On Unix® and Linux® systems, you can use the top command: $ top -n 1 -H -p [pid]replacing [pid] with the process ID of the affected process.
  2. On Solaris®, you can use the prstat command: $ prstat -L -p [pid]replacing [pid] with the process ID of the affected process.
24 февр. 2021 г.
 

Tìm kiếm

Back
Top