【问题标题】:How to find the thread id through the process in macOS ?macOS中如何通过进程找到线程id?
【发布时间】:2019-11-18 06:53:19
【问题描述】:

如在Linux中:top -Hp [pid],但在macOS上无效。

【问题讨论】:

标签: macos


【解决方案1】:

您可以使用ps -M 命令显示每个进程的所有线程,并具有一些PID。但它不显示threadid。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-03-13
    • 1970-01-01
    • 2011-08-20
    • 2015-01-28
    • 1970-01-01
    • 2022-01-17
    • 2013-03-06
    相关资源
    最近更新 更多