How do I install htop inside mac os x
Clash Royale CLAN TAG#URR8PPP
up vote
51
down vote
favorite
How do I install htop for Mac OS X? (The easiest and laziest path)
software-installation macintosh htop
add a comment |Â
up vote
51
down vote
favorite
How do I install htop for Mac OS X? (The easiest and laziest path)
software-installation macintosh htop
Install Linux in a vm. It's a Linux program which uses Linux-specific kernel features, such as theproc
filesystem.
â jordanm
Oct 30 '13 at 22:04
No, it has to run natively, it should since htop does works in unix.
â Ruvenss
Oct 30 '13 at 22:16
It won't run natively. It's not portable to other *nix OSes for the same reasonprocps
is not portable.
â jordanm
Oct 30 '13 at 22:38
add a comment |Â
up vote
51
down vote
favorite
up vote
51
down vote
favorite
How do I install htop for Mac OS X? (The easiest and laziest path)
software-installation macintosh htop
How do I install htop for Mac OS X? (The easiest and laziest path)
software-installation macintosh htop
software-installation macintosh htop
edited Nov 26 '13 at 1:37
terdonâ¦
124k29236414
124k29236414
asked Oct 30 '13 at 22:01
Ruvenss
356137
356137
Install Linux in a vm. It's a Linux program which uses Linux-specific kernel features, such as theproc
filesystem.
â jordanm
Oct 30 '13 at 22:04
No, it has to run natively, it should since htop does works in unix.
â Ruvenss
Oct 30 '13 at 22:16
It won't run natively. It's not portable to other *nix OSes for the same reasonprocps
is not portable.
â jordanm
Oct 30 '13 at 22:38
add a comment |Â
Install Linux in a vm. It's a Linux program which uses Linux-specific kernel features, such as theproc
filesystem.
â jordanm
Oct 30 '13 at 22:04
No, it has to run natively, it should since htop does works in unix.
â Ruvenss
Oct 30 '13 at 22:16
It won't run natively. It's not portable to other *nix OSes for the same reasonprocps
is not portable.
â jordanm
Oct 30 '13 at 22:38
Install Linux in a vm. It's a Linux program which uses Linux-specific kernel features, such as the
proc
filesystem.â jordanm
Oct 30 '13 at 22:04
Install Linux in a vm. It's a Linux program which uses Linux-specific kernel features, such as the
proc
filesystem.â jordanm
Oct 30 '13 at 22:04
No, it has to run natively, it should since htop does works in unix.
â Ruvenss
Oct 30 '13 at 22:16
No, it has to run natively, it should since htop does works in unix.
â Ruvenss
Oct 30 '13 at 22:16
It won't run natively. It's not portable to other *nix OSes for the same reason
procps
is not portable.â jordanm
Oct 30 '13 at 22:38
It won't run natively. It's not portable to other *nix OSes for the same reason
procps
is not portable.â jordanm
Oct 30 '13 at 22:38
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
71
down vote
accepted
Here is the laziest way (or homebrew way)
First install Homebrew if you haven't
Second brew install htop
Third, done
1
Should bebrew install htop-osx
as of 2014 Oct.
â clwen
Oct 10 '14 at 18:20
the same works with MacPorts instead of Homebrew btw. Just "sudo port install htop".
â klm123
Jan 18 '15 at 10:40
4
brew install htop
will correctly installhtop-osx
â Dennis
Mar 18 '15 at 12:34
2
As of March 2016brew install htop
installshtop 2.0.1 - (C) 2004-2016 Hisham Muhammad
andbrew install htop-osx
installs much olderhtop 0.8.2.8 - (C) 2004-2008 Hisham Muhammad
â techraf
Mar 25 '16 at 14:52
"brew install htop" works just fine with me 18th Oct 2018. Thanks. @number5: Should remove some obsolete update comments to avoid confusing.
â Catbuilts
7 hours ago
 |Â
show 1 more comment
up vote
5
down vote
I installed htop
0.8 (update: now 2.0.1) from MacPorts with
sudo port install htop
add a comment |Â
up vote
3
down vote
Pre-built binary
Found this tutorial that shows how to do it. The steps are as follows:
$ curl -O http://themainframe.ca/wp-content/uploads/2011/06/htop.zip
$ unzip htop.zip
$ sudo mv htop /bin
$ rm htop.zip
This binary is already pre-built so you should use caution when using executables such as this to make sure that they aren't malicious.
Building it from scratch
You can also follow these directions if you'd like to attempt to build the executable yourself. The tutorial is called: htop for Snow Leopard. A copy of the original reference material is here on Tech Chutney.
General steps
$ git clone git://github.com/AndyA/htop-osx.git
Building this under Snow Leopard requires you to checkout the 'osx' branch:
$ cd htop-osx
$ git checkout -b osx origin/osx
and set your 'CFLAGS' environmental variable to specify a 32-bit build:
$ export CFLAGS="-m32"
before the actual build:
$ ./autogen.sh
$ ./configure
$ make
$ make install
The âÂÂbuilding from scratchâ option is missing the step where one must actually go into the âÂÂhtop-osxâ before doing anything else.
â JakeGould
Mar 29 '14 at 3:00
@JakeGould - sorry I thought that was obvious from having to run the script,./autogen.sh
since it's inside that directory. I'll add it.
â slmâ¦
Mar 29 '14 at 3:05
1
@JakeGould - Thanks I see what you mean now. In the future you can edit mistakes such as this, BTW.
â slmâ¦
Mar 29 '14 at 14:07
1
@JakeGould - the link is now broken I referenced but the directions were copied from a blog post so that would explain why they were incorrect. I don't own a Mac system so am unable to confirm these A's when I provide them.
â slmâ¦
Mar 29 '14 at 14:15
2
Unfortunately this is an older version of htop (0.8.2.1) whereas the latest version is 1.0.2 and some functionality (filtering) is missing. It's easy to build from the canonical tarball if you have a recent enough (>= 2.65) version of autoconf.
â Dan Tenenbaum
Apr 9 '14 at 17:19
 |Â
show 2 more comments
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
71
down vote
accepted
Here is the laziest way (or homebrew way)
First install Homebrew if you haven't
Second brew install htop
Third, done
1
Should bebrew install htop-osx
as of 2014 Oct.
â clwen
Oct 10 '14 at 18:20
the same works with MacPorts instead of Homebrew btw. Just "sudo port install htop".
â klm123
Jan 18 '15 at 10:40
4
brew install htop
will correctly installhtop-osx
â Dennis
Mar 18 '15 at 12:34
2
As of March 2016brew install htop
installshtop 2.0.1 - (C) 2004-2016 Hisham Muhammad
andbrew install htop-osx
installs much olderhtop 0.8.2.8 - (C) 2004-2008 Hisham Muhammad
â techraf
Mar 25 '16 at 14:52
"brew install htop" works just fine with me 18th Oct 2018. Thanks. @number5: Should remove some obsolete update comments to avoid confusing.
â Catbuilts
7 hours ago
 |Â
show 1 more comment
up vote
71
down vote
accepted
Here is the laziest way (or homebrew way)
First install Homebrew if you haven't
Second brew install htop
Third, done
1
Should bebrew install htop-osx
as of 2014 Oct.
â clwen
Oct 10 '14 at 18:20
the same works with MacPorts instead of Homebrew btw. Just "sudo port install htop".
â klm123
Jan 18 '15 at 10:40
4
brew install htop
will correctly installhtop-osx
â Dennis
Mar 18 '15 at 12:34
2
As of March 2016brew install htop
installshtop 2.0.1 - (C) 2004-2016 Hisham Muhammad
andbrew install htop-osx
installs much olderhtop 0.8.2.8 - (C) 2004-2008 Hisham Muhammad
â techraf
Mar 25 '16 at 14:52
"brew install htop" works just fine with me 18th Oct 2018. Thanks. @number5: Should remove some obsolete update comments to avoid confusing.
â Catbuilts
7 hours ago
 |Â
show 1 more comment
up vote
71
down vote
accepted
up vote
71
down vote
accepted
Here is the laziest way (or homebrew way)
First install Homebrew if you haven't
Second brew install htop
Third, done
Here is the laziest way (or homebrew way)
First install Homebrew if you haven't
Second brew install htop
Third, done
edited 4 mins ago
answered Oct 31 '13 at 0:57
number5
1,123810
1,123810
1
Should bebrew install htop-osx
as of 2014 Oct.
â clwen
Oct 10 '14 at 18:20
the same works with MacPorts instead of Homebrew btw. Just "sudo port install htop".
â klm123
Jan 18 '15 at 10:40
4
brew install htop
will correctly installhtop-osx
â Dennis
Mar 18 '15 at 12:34
2
As of March 2016brew install htop
installshtop 2.0.1 - (C) 2004-2016 Hisham Muhammad
andbrew install htop-osx
installs much olderhtop 0.8.2.8 - (C) 2004-2008 Hisham Muhammad
â techraf
Mar 25 '16 at 14:52
"brew install htop" works just fine with me 18th Oct 2018. Thanks. @number5: Should remove some obsolete update comments to avoid confusing.
â Catbuilts
7 hours ago
 |Â
show 1 more comment
1
Should bebrew install htop-osx
as of 2014 Oct.
â clwen
Oct 10 '14 at 18:20
the same works with MacPorts instead of Homebrew btw. Just "sudo port install htop".
â klm123
Jan 18 '15 at 10:40
4
brew install htop
will correctly installhtop-osx
â Dennis
Mar 18 '15 at 12:34
2
As of March 2016brew install htop
installshtop 2.0.1 - (C) 2004-2016 Hisham Muhammad
andbrew install htop-osx
installs much olderhtop 0.8.2.8 - (C) 2004-2008 Hisham Muhammad
â techraf
Mar 25 '16 at 14:52
"brew install htop" works just fine with me 18th Oct 2018. Thanks. @number5: Should remove some obsolete update comments to avoid confusing.
â Catbuilts
7 hours ago
1
1
Should be
brew install htop-osx
as of 2014 Oct.â clwen
Oct 10 '14 at 18:20
Should be
brew install htop-osx
as of 2014 Oct.â clwen
Oct 10 '14 at 18:20
the same works with MacPorts instead of Homebrew btw. Just "sudo port install htop".
â klm123
Jan 18 '15 at 10:40
the same works with MacPorts instead of Homebrew btw. Just "sudo port install htop".
â klm123
Jan 18 '15 at 10:40
4
4
brew install htop
will correctly install htop-osx
â Dennis
Mar 18 '15 at 12:34
brew install htop
will correctly install htop-osx
â Dennis
Mar 18 '15 at 12:34
2
2
As of March 2016
brew install htop
installs htop 2.0.1 - (C) 2004-2016 Hisham Muhammad
and brew install htop-osx
installs much older htop 0.8.2.8 - (C) 2004-2008 Hisham Muhammad
â techraf
Mar 25 '16 at 14:52
As of March 2016
brew install htop
installs htop 2.0.1 - (C) 2004-2016 Hisham Muhammad
and brew install htop-osx
installs much older htop 0.8.2.8 - (C) 2004-2008 Hisham Muhammad
â techraf
Mar 25 '16 at 14:52
"brew install htop" works just fine with me 18th Oct 2018. Thanks. @number5: Should remove some obsolete update comments to avoid confusing.
â Catbuilts
7 hours ago
"brew install htop" works just fine with me 18th Oct 2018. Thanks. @number5: Should remove some obsolete update comments to avoid confusing.
â Catbuilts
7 hours ago
 |Â
show 1 more comment
up vote
5
down vote
I installed htop
0.8 (update: now 2.0.1) from MacPorts with
sudo port install htop
add a comment |Â
up vote
5
down vote
I installed htop
0.8 (update: now 2.0.1) from MacPorts with
sudo port install htop
add a comment |Â
up vote
5
down vote
up vote
5
down vote
I installed htop
0.8 (update: now 2.0.1) from MacPorts with
sudo port install htop
I installed htop
0.8 (update: now 2.0.1) from MacPorts with
sudo port install htop
edited Jul 4 '16 at 13:39
answered Jul 25 '15 at 19:08
Victor Sergienko
16015
16015
add a comment |Â
add a comment |Â
up vote
3
down vote
Pre-built binary
Found this tutorial that shows how to do it. The steps are as follows:
$ curl -O http://themainframe.ca/wp-content/uploads/2011/06/htop.zip
$ unzip htop.zip
$ sudo mv htop /bin
$ rm htop.zip
This binary is already pre-built so you should use caution when using executables such as this to make sure that they aren't malicious.
Building it from scratch
You can also follow these directions if you'd like to attempt to build the executable yourself. The tutorial is called: htop for Snow Leopard. A copy of the original reference material is here on Tech Chutney.
General steps
$ git clone git://github.com/AndyA/htop-osx.git
Building this under Snow Leopard requires you to checkout the 'osx' branch:
$ cd htop-osx
$ git checkout -b osx origin/osx
and set your 'CFLAGS' environmental variable to specify a 32-bit build:
$ export CFLAGS="-m32"
before the actual build:
$ ./autogen.sh
$ ./configure
$ make
$ make install
The âÂÂbuilding from scratchâ option is missing the step where one must actually go into the âÂÂhtop-osxâ before doing anything else.
â JakeGould
Mar 29 '14 at 3:00
@JakeGould - sorry I thought that was obvious from having to run the script,./autogen.sh
since it's inside that directory. I'll add it.
â slmâ¦
Mar 29 '14 at 3:05
1
@JakeGould - Thanks I see what you mean now. In the future you can edit mistakes such as this, BTW.
â slmâ¦
Mar 29 '14 at 14:07
1
@JakeGould - the link is now broken I referenced but the directions were copied from a blog post so that would explain why they were incorrect. I don't own a Mac system so am unable to confirm these A's when I provide them.
â slmâ¦
Mar 29 '14 at 14:15
2
Unfortunately this is an older version of htop (0.8.2.1) whereas the latest version is 1.0.2 and some functionality (filtering) is missing. It's easy to build from the canonical tarball if you have a recent enough (>= 2.65) version of autoconf.
â Dan Tenenbaum
Apr 9 '14 at 17:19
 |Â
show 2 more comments
up vote
3
down vote
Pre-built binary
Found this tutorial that shows how to do it. The steps are as follows:
$ curl -O http://themainframe.ca/wp-content/uploads/2011/06/htop.zip
$ unzip htop.zip
$ sudo mv htop /bin
$ rm htop.zip
This binary is already pre-built so you should use caution when using executables such as this to make sure that they aren't malicious.
Building it from scratch
You can also follow these directions if you'd like to attempt to build the executable yourself. The tutorial is called: htop for Snow Leopard. A copy of the original reference material is here on Tech Chutney.
General steps
$ git clone git://github.com/AndyA/htop-osx.git
Building this under Snow Leopard requires you to checkout the 'osx' branch:
$ cd htop-osx
$ git checkout -b osx origin/osx
and set your 'CFLAGS' environmental variable to specify a 32-bit build:
$ export CFLAGS="-m32"
before the actual build:
$ ./autogen.sh
$ ./configure
$ make
$ make install
The âÂÂbuilding from scratchâ option is missing the step where one must actually go into the âÂÂhtop-osxâ before doing anything else.
â JakeGould
Mar 29 '14 at 3:00
@JakeGould - sorry I thought that was obvious from having to run the script,./autogen.sh
since it's inside that directory. I'll add it.
â slmâ¦
Mar 29 '14 at 3:05
1
@JakeGould - Thanks I see what you mean now. In the future you can edit mistakes such as this, BTW.
â slmâ¦
Mar 29 '14 at 14:07
1
@JakeGould - the link is now broken I referenced but the directions were copied from a blog post so that would explain why they were incorrect. I don't own a Mac system so am unable to confirm these A's when I provide them.
â slmâ¦
Mar 29 '14 at 14:15
2
Unfortunately this is an older version of htop (0.8.2.1) whereas the latest version is 1.0.2 and some functionality (filtering) is missing. It's easy to build from the canonical tarball if you have a recent enough (>= 2.65) version of autoconf.
â Dan Tenenbaum
Apr 9 '14 at 17:19
 |Â
show 2 more comments
up vote
3
down vote
up vote
3
down vote
Pre-built binary
Found this tutorial that shows how to do it. The steps are as follows:
$ curl -O http://themainframe.ca/wp-content/uploads/2011/06/htop.zip
$ unzip htop.zip
$ sudo mv htop /bin
$ rm htop.zip
This binary is already pre-built so you should use caution when using executables such as this to make sure that they aren't malicious.
Building it from scratch
You can also follow these directions if you'd like to attempt to build the executable yourself. The tutorial is called: htop for Snow Leopard. A copy of the original reference material is here on Tech Chutney.
General steps
$ git clone git://github.com/AndyA/htop-osx.git
Building this under Snow Leopard requires you to checkout the 'osx' branch:
$ cd htop-osx
$ git checkout -b osx origin/osx
and set your 'CFLAGS' environmental variable to specify a 32-bit build:
$ export CFLAGS="-m32"
before the actual build:
$ ./autogen.sh
$ ./configure
$ make
$ make install
Pre-built binary
Found this tutorial that shows how to do it. The steps are as follows:
$ curl -O http://themainframe.ca/wp-content/uploads/2011/06/htop.zip
$ unzip htop.zip
$ sudo mv htop /bin
$ rm htop.zip
This binary is already pre-built so you should use caution when using executables such as this to make sure that they aren't malicious.
Building it from scratch
You can also follow these directions if you'd like to attempt to build the executable yourself. The tutorial is called: htop for Snow Leopard. A copy of the original reference material is here on Tech Chutney.
General steps
$ git clone git://github.com/AndyA/htop-osx.git
Building this under Snow Leopard requires you to checkout the 'osx' branch:
$ cd htop-osx
$ git checkout -b osx origin/osx
and set your 'CFLAGS' environmental variable to specify a 32-bit build:
$ export CFLAGS="-m32"
before the actual build:
$ ./autogen.sh
$ ./configure
$ make
$ make install
edited Mar 29 '14 at 14:30
answered Oct 30 '13 at 23:45
slmâ¦
241k66500669
241k66500669
The âÂÂbuilding from scratchâ option is missing the step where one must actually go into the âÂÂhtop-osxâ before doing anything else.
â JakeGould
Mar 29 '14 at 3:00
@JakeGould - sorry I thought that was obvious from having to run the script,./autogen.sh
since it's inside that directory. I'll add it.
â slmâ¦
Mar 29 '14 at 3:05
1
@JakeGould - Thanks I see what you mean now. In the future you can edit mistakes such as this, BTW.
â slmâ¦
Mar 29 '14 at 14:07
1
@JakeGould - the link is now broken I referenced but the directions were copied from a blog post so that would explain why they were incorrect. I don't own a Mac system so am unable to confirm these A's when I provide them.
â slmâ¦
Mar 29 '14 at 14:15
2
Unfortunately this is an older version of htop (0.8.2.1) whereas the latest version is 1.0.2 and some functionality (filtering) is missing. It's easy to build from the canonical tarball if you have a recent enough (>= 2.65) version of autoconf.
â Dan Tenenbaum
Apr 9 '14 at 17:19
 |Â
show 2 more comments
The âÂÂbuilding from scratchâ option is missing the step where one must actually go into the âÂÂhtop-osxâ before doing anything else.
â JakeGould
Mar 29 '14 at 3:00
@JakeGould - sorry I thought that was obvious from having to run the script,./autogen.sh
since it's inside that directory. I'll add it.
â slmâ¦
Mar 29 '14 at 3:05
1
@JakeGould - Thanks I see what you mean now. In the future you can edit mistakes such as this, BTW.
â slmâ¦
Mar 29 '14 at 14:07
1
@JakeGould - the link is now broken I referenced but the directions were copied from a blog post so that would explain why they were incorrect. I don't own a Mac system so am unable to confirm these A's when I provide them.
â slmâ¦
Mar 29 '14 at 14:15
2
Unfortunately this is an older version of htop (0.8.2.1) whereas the latest version is 1.0.2 and some functionality (filtering) is missing. It's easy to build from the canonical tarball if you have a recent enough (>= 2.65) version of autoconf.
â Dan Tenenbaum
Apr 9 '14 at 17:19
The âÂÂbuilding from scratchâ option is missing the step where one must actually go into the âÂÂhtop-osxâ before doing anything else.
â JakeGould
Mar 29 '14 at 3:00
The âÂÂbuilding from scratchâ option is missing the step where one must actually go into the âÂÂhtop-osxâ before doing anything else.
â JakeGould
Mar 29 '14 at 3:00
@JakeGould - sorry I thought that was obvious from having to run the script,
./autogen.sh
since it's inside that directory. I'll add it.â slmâ¦
Mar 29 '14 at 3:05
@JakeGould - sorry I thought that was obvious from having to run the script,
./autogen.sh
since it's inside that directory. I'll add it.â slmâ¦
Mar 29 '14 at 3:05
1
1
@JakeGould - Thanks I see what you mean now. In the future you can edit mistakes such as this, BTW.
â slmâ¦
Mar 29 '14 at 14:07
@JakeGould - Thanks I see what you mean now. In the future you can edit mistakes such as this, BTW.
â slmâ¦
Mar 29 '14 at 14:07
1
1
@JakeGould - the link is now broken I referenced but the directions were copied from a blog post so that would explain why they were incorrect. I don't own a Mac system so am unable to confirm these A's when I provide them.
â slmâ¦
Mar 29 '14 at 14:15
@JakeGould - the link is now broken I referenced but the directions were copied from a blog post so that would explain why they were incorrect. I don't own a Mac system so am unable to confirm these A's when I provide them.
â slmâ¦
Mar 29 '14 at 14:15
2
2
Unfortunately this is an older version of htop (0.8.2.1) whereas the latest version is 1.0.2 and some functionality (filtering) is missing. It's easy to build from the canonical tarball if you have a recent enough (>= 2.65) version of autoconf.
â Dan Tenenbaum
Apr 9 '14 at 17:19
Unfortunately this is an older version of htop (0.8.2.1) whereas the latest version is 1.0.2 and some functionality (filtering) is missing. It's easy to build from the canonical tarball if you have a recent enough (>= 2.65) version of autoconf.
â Dan Tenenbaum
Apr 9 '14 at 17:19
 |Â
show 2 more comments
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f98253%2fhow-do-i-install-htop-inside-mac-os-x%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Install Linux in a vm. It's a Linux program which uses Linux-specific kernel features, such as the
proc
filesystem.â jordanm
Oct 30 '13 at 22:04
No, it has to run natively, it should since htop does works in unix.
â Ruvenss
Oct 30 '13 at 22:16
It won't run natively. It's not portable to other *nix OSes for the same reason
procps
is not portable.â jordanm
Oct 30 '13 at 22:38