Lurker News

Comments (153) 37 threads

Earlier comments
ketralnis1 reply#
I really enjoyed this talk[1] by Bryan Cantrill, part of which is about what it took to emulate Linux's syscalls from within SmartOS. It's lengthy, but enjoyable.

One of the applications that they tried to port directly to before the emulation layer was htop, and he has a good rant about what that took because of its use of /proc and how that made porting it very difficult.
Given that, I'm sure this wasn't easy. Kudos!
[1] https://www.youtube.com/watch?v=TrfD3pC0VSs

digi_owl1 reply#
Cantrill loves to rant, don't he?
luckydude#
He does and he's good at it. It's usually pretty entertaining.
lqdc132 replies#
I used to use htop, but switched to glances at some point, because of a quicker-to-find-the-info-you-want interface.
rdtsc1 reply#
I use htop. I tried glances as I heard good things about it. It is nice, I like how it has more stuff -- disk, network. However it installed matplotlib, fonts-lyx, tk8.6, libjs-jquery-ui, python3-bottle, and a slew of other dependencies, not a big deal but something to watch for.
lqdc131 reply#
Were you adding it through apt-get or pip? With apt-get it's fairly painless.

    apt-cache depends glances

  Depends: python-psutil
  Depends:
    python:i386
    python
  Depends:
    python:i386
    python
  Depends: python
  Depends: python-pkg-resources
  Depends: adduser
  Depends: lsb-base
  Recommends: python-jinja2
rdtsc2 replies#
apt-get. It was painless, and I have the diskspace so not a big deal. Looking at package properties I see it recommends a bunch of packages, so it installed those and their deps (this is Ubuntu 15.10):

    hddtemp, lm-sensors, python3-docker,
    python3-bottle, python3-pysnmp4,
    python3-influxdb ...

Continue this thread — 2 replies

zobzu1 reply#
i just use terminals though, web-ui-everything is nice but also not all that convenient IMO since you need to forward ports 'n stuff.
giancarlostoro#
With services like ngrok the need to port forward isn't as big.
pcx2 replies#
Awesome! Installing htop is the first thing I do on my *nix systems. The update is still not up on Homebrew, shouldn't take long though.
sublimino1 reply#
Perhaps you're referring to Linuxbrew - "a fork of Homebrew, the Mac OS package manager, for Linux."

It exposes the same repository as its OSX counterpart, with linux-flavoured customisations where necessary.
From feature list at http://linuxbrew.sh/
- Can install software to a home directory and so does not require sudo
- Install software not packaged by the native distribution
- Install up-to-date versions of software when the native distribution is old
- Use the same package manager to manage both your Mac and Linux machines

pcx1 reply#
Nope, I am talking about Homebrew, it provides the best way to install htop on OSX.

Continue this thread — 1 reply

jdcarter1 reply#
FWIW, I did an install from source and it was totally painless--no dependencies to track down. ./configure, make, sudo make install and you're done.
pcx#
Cool, thanks for sharing! I'll still prefer waiting for a Homebrew update, too addicted to the comfort of package managers :).
fuhrysteve1 reply#
I wonder if this can get into Ubuntu 16.04 before feature freeze in a week or so..
rhinoceraptor#
It's not a default package, right? If so it can be updated in the repos.

Load more comments