Slashdot Mirror


Htop 2.0 Released, Runs Natively On BSDs and Mac OSX

An anonymous reader writes: The popular Linux process viewer htop got a new major revision, and now runs natively on FreeBSD, OpenBSD and Mac OS X. The author discussed the process of making the tool cross-platform earlier this year at FOSDEM. Htop also got some new features, including mouse wheel support via ncurses 6 and listing process environment variables.

37 comments

  1. 'Now' runs natively on BSDs? by Anonymous Coward · · Score: 0

    Pretty sure I used htop on freebsd years ago

    1. Re:'Now' runs natively on BSDs? by mattventura · · Score: 1

      Doesn't it have a Linux compatibility layer? I think "native" is the keyword there.

    2. Re:'Now' runs natively on BSDs? by Anonymous Coward · · Score: 0

      Indeed, this is mentioned at 3:55 on the youtube video. Using linprocfs to provide a emulated /proc fs for FreeBSD so htop can have it's information source.

    3. Re: 'Now' runs natively on BSDs? by Anonymous Coward · · Score: 0

      Also, WHICH windows, WHICH OSX?

      "Runs on OSX" my ass. OSX is a fucking nightmare of incompatible, Appletarded release-to-release malfuckery. If this actually "runs on OSX" as opposed to some tiny subset of OSX versions, then whoohoo. Otherwise, bullshit.

      Also, even if so, SAY SO.

    4. Re: 'Now' runs natively on BSDs? by Anonymous Coward · · Score: 0

      htop isn't written for any microsoft windows OS / process model. before this release you only got htop-osx which was a fork from 2009 not maintained by the htop developer but it did work on os x (version 0.8, so very old). you could get that through the homebrew package manager. the new release now officially, fully supports os x, so you dont have to use the 2009 fork maintained by someone else. you can compile and run the new htop version or just wait for homebrew to have it in their repository. there's a pull request on github for htop 2.0, it should be pretty soon that it shows up in the repository.

    5. Re:'Now' runs natively on BSDs? by Anonymous Coward · · Score: 2, Informative

      htop did work on FreeBSD, but you had to jump through hoops (you might have already jumped through for Linux emulation) to enable linprocfs for it to work. Now it uses native BSD process APIs and doesn't require linprocfs. Is probably faster/less resource intensive as a result now.

    6. Re: 'Now' runs natively on BSDs? by jeffb+(2.718) · · Score: 4, Informative

      FWIW, I just installed it without incident on an instance of 10.6.8. That's pretty far back, and the site indicates there's at least some chance it'll work on even older releases.

    7. Re: 'Now' runs natively on BSDs? by Anonymous Coward · · Score: 0

      +1 informative

    8. Re: 'Now' runs natively on BSDs? by Anonymous Coward · · Score: 0

      just wait for homebrew to have it in their repository

      You *do* realize that homebrew is busted on older versions of OS X, right? Under 10.6.8, a great deal of it simply fails.

      Waiting for homebrew isn't really an option. They're too careless about breaking things. Like... like Apple. Hm.

    9. Re: 'Now' runs natively on BSDs? by Anonymous Coward · · Score: 0

      10.6? You are 5 fucking versions behind. That's like complaining that it won't work on your shiny new Windows XP machine. Christ sakes man.

      It's not apples fault that app creators ditch projects and don't keep up with maintainence.

  2. Slashdot posts something interesting an useful by ZeroZen · · Score: 1

    Thanks Slashdot! I've been using top like a chump. This is great!

    1. Re:Slashdot posts something interesting an useful by Anonymous Coward · · Score: 0

      Have you tried running htop? I don't know if it works on Android, but it's what I use for this purpose on my phone (a Nokia N9, so a lot closer to desktop Linux than Android).

    2. Re:Slashdot posts something interesting an useful by richy+freeway · · Score: 1

      http://lance7xx.blogspot.co.uk...

      3rd hit on Googling "htop android"

      Fear my Google-Fu.

    3. Re:Slashdot posts something interesting an useful by Anonymous Coward · · Score: 0

      There are tools to display what's waking up the processor

    4. Re:Slashdot posts something interesting an useful by thegarbz · · Score: 1

      Quite frankly I don't know how you've lived without it. This is among the first programs I install on a vanilla Linux system along with midnight commander, nmon, iptraf, vi and emacs.

      That's right I installed them both. What you gonna do about it!

    5. Re:Slashdot posts something interesting an useful by Anonymous Coward · · Score: 0

      My first install is systemd, always and forever

    6. Re: Slashdot posts something interesting an useful by Anonymous Coward · · Score: 0

      Is there an htop port for emacs?

    7. Re: Slashdot posts something interesting an useful by Zeromous · · Score: 3, Funny

      oh stop it already. im tired of people acting like they understand systemd. systemd installs YOU, you dummy :D

      --
      ---Up Up Down Down Left Right Left Right B A START
    8. Re:Slashdot posts something interesting an useful by CronoCloud · · Score: 1

      Yeah, this. I think I can vaguely recall hearing about htop before, but don't remember looking at any screenshots of it or installing it before now.

      It's VERY nice, it actually has mouse support. Well for me it did. Yeah, there's graphical process managers, but in some ways they're "too" graphical. And unlike some OTHER terminal applications it doesn't use that silly hard to read default super dark blue, but what looks like "DodgerBlue"

    9. Re:Slashdot posts something interesting an useful by Anonymous Coward · · Score: 0

      don't forget pulse..

    10. Re:Slashdot posts something interesting an useful by Anonymous Coward · · Score: 0

      zsh <3 <3

  3. Next Rev. by Anonymous Coward · · Score: 0

    Nice!
    How about identifying any jailed processes for 2.1?

  4. Great Stuff by inhuman_4 · · Score: 3, Insightful

    Htop is a great piece of software. Glad to hear it is still being improved.

    1. Re:Great Stuff by sl3xd · · Score: 1

      I'd say I'm ridiculously excited about this, but I don't want to understate it.

      Htop is one of those little gems that made the world a better place to be.

      Kudos & thanks to the developers!!!

      --
      -- Sometimes you have to turn the lights off in order to see.
  5. Already in MacPorts by GlobalEcho · · Score: 1

    For those OSX users who have MacPorts, the new htop is already available.

    1. Re:Already in MacPorts by sl3xd · · Score: 1

      Yahoo!

      --
      -- Sometimes you have to turn the lights off in order to see.
  6. Argh the website! by Anonymous Coward · · Score: 0

    I couldn't focus on the website because I'm so used to looking at moving console windows the backgrounds kept catching my eye mid-sentence!

    1. Re:Argh the website! by CronoCloud · · Score: 1

      That's a bit of a consolation to find I'm not the only one that finds the fake console window background distracting.

  7. Re:Is there any reason left to run linux? by epyT-R · · Score: 1

    I guess it depends on what you mean by best.

  8. Availabe on OSX with Brew by scratchy_king · · Score: 1

    Version 2.0 available on Mac

    brew install htop
    or
    brew upgrade htop

    Or in some cases, like mine, first:
    brew remove htop-osx

    1. Re:Availabe on OSX with Brew by HuguesT · · Score: 1

      very reactive, amazing.

  9. $~ htop by Anonymous Coward · · Score: 0

    $~> htop

    If 'htop' is not a typo you can use command-not-found to lookup the package that contains it, like this:
            cnf htop

  10. Re:Is there any reason left to run linux? by Anonymous Coward · · Score: 0

    If you like OSX, then keep using it. But is is nowhere near what I would consider the best desktop OS.