top -H option in Macosx

為{幸葍}努か 提交于 2020-06-25 03:51:23

问题


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?


回答1:


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 )



来源:https://stackoverflow.com/questions/5461010/top-h-option-in-macosx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!