Installing htop may take a while because it requires quite a few dependencies (zlib, openssl, perl, etc), but Homebrew and MacPorts will handle installing and downloading them all for you. Run ‘htop’ at the command line as usual on the Mac.After MacPorts is installed, launch a new Terminal window and type:.Get MacPorts and install it if you don’t have it already.When htop completes installing, run ‘htop’ at the command line to enjoy htop in OS XĪnd there you have it, htop runs in OS X!Īnother option is to install htop through MacPorts as follows:.Once homebrew has successfully installed, you can install htop easily with the following command string:.Copy and paste the install command string into the terminal, it usually looks something like the following – GET THE EXACT COMMAND from brew.sh as it sometimes changes the script reference, do not just copy and paste:.Open a web browser and go to the homebrew webpage here.Installing with Homebrew requires Homebrew as a prerequisite (obviously), this is easy: We’ll cover installing htop with Homebrew first, and MacPorts second. The easiest way to get htop running on Mac OS X is by installing it through MacPorts or Homebrew, which package manager you use doesn’t matter but you’ll only want to install it in one so you don’t overlap and double-install. Anyway, let’s get htop installed in Mac OS X via a package manager like Homebrew or MacPorts. I find this easier than manually entering PID’s through top. If you come from the linux world, you’re probably already familiar with htop, but if you’re not here’s why it’s better than top: for starters, it just looks better and is easier to read thanks to an improved layout and use of ANSII colors, but beyond that it’s great because it functions much like a task manager, allowing you select and then renice or kill processes as needed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |