Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

top -H option in 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?

like image 866
Paulo Taylor Avatar asked Mar 28 '11 15:03

Paulo Taylor


People also ask

What is top command in Mac?

The top command shows a live view in the Terminal with the list of apps with the most CPU utilization. The top command also displays memory, CPU and disk stats at a glance. To close this view, either close the Terminal window or go back to the command line prompt by pressing Control + C to quit the top command.

How do I get the top menu back on my Mac?

Click the Dock & Menu Bar icon in the preference pane. Make sure Dock & Menu Bar is selected in the sidebar, and under "Menu Bar," uncheck the box next to Automatically hide and show the menu bar in full screen.

What is the top menu bar on Mac called?

The menubar is the bar at the top of your Mac's screen. Here's how to move or delete the icons that appear on it. 1. For built-in menubar icons, just hold down the Command key and then drag the icon to where you want it or drop it off the menubar to delete it.


1 Answers

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 )

like image 146
mnicky Avatar answered Sep 20 '22 03:09

mnicky