Macosx 中的顶部 -H 选项
在 Unix/Linux 中,top 命令具有 -H 选项,可以提供有关进程内线程的更多详细信息。 在 Macosx 上似乎没有 -H 选项! Macosx 有类似的东西吗?
In Unix/Linux the top command has the -H option to give a more details information about the threads within a process.
On Macosx there seems to be no -H option! Is there anything similar for Macosx?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为 OS X 的 top 中没有这样或类似的选项,但您可以尝试 htop,它以与 htop -H 类似的方式显示线程。
虽然 OS X 没有 htop 二进制文件,但您可以从源代码构建和安装它(例如,根据本指南:https://web.archive.org/web/20110122020519/http://geektechnica.com/2009/07/如何在 osx 上安装 htop )
I think there's no such or similar option in top for OS X, but you can try htop which displays threads in somewhat similar way to htop -H.
Although OS X doesn't have htop binary, you can build and install it from source (e. g. according to this guide: https://web.archive.org/web/20110122020519/http://geektechnica.com/2009/07/how-to-install-htop-on-osx )