问题描述
在Unix/Linux中,top命令具有-H选项,以提供有关进程中线程的更多详细信息.在Macosx上似乎没有-H选项! Macosx有类似的东西吗?
我认为OS X的顶部没有这样的选项或相似的选项,但是您可以尝试使用htop,它以与htop -H相似的方式显示线程. >
尽管OS X没有htop二进制文件,但是您可以从源代码构建和安装它(例如,根据本指南: https://web.archive.org/web/20110122020519/http://geektechnica.com/2009/07/how-to-install-htop-on-osx )
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?
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 )
这篇关于Macosx中的top -H选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!