Earlier quoted context omitted.
Is there a way to combine all the processes with the same command name? I have a ton of mariadb processes (I don't even know if this is normal, but it seems to be working just fine) and it gets tiring having to scroll them just to glance the numbers on other processes. https://www.dropbox.com/s/ghwsh6ye1gt32k1/Screenshot%202016-...
Those might be threads. It's best to disable showing threads (F2 - Display options - Hide kernel/userland threads) because they give little information over just the process.
Show HN: Htop 2.0 released, now cross-platform
151–159 of 159 posts
Re: Show HN: Htop 2.0 released, now cross-platform
#152Re: Show HN: Htop 2.0 released, now cross-platform
#153Earlier quoted context omitted.
No, it's accurate marketing. Asking for htop to be available on windows is kinda silly if you recall that htop is "top++" and depends on having a unix filesystem. "Cross-platform" is a contextual term.
> depends on having a unix filesystem. It doesn't do that. Before the multiplatform changes it did depend on having procfs (linux's I assume since BSDs had a non-identical procfs yet weren't supported), aside from the OSX fork which ripped out all the /proc access and replaced them with OSX API calls. What it does depend on is ncurses.
Re: Show HN: Htop 2.0 released, now cross-platform
#154Earlier quoted context omitted.
Haha everyone used to mock MS because cross platform to them meant Win16 AND Win32. Now we use it to mean various flavours of Linux. Progress?
> Now we use it to mean various flavours of Linux. ? "Portable" htop 2.0 works on FreeBSD[0], OpenBSD[1] and OSX[2], not just "various flavours of linux". [0] https://github.com/hishamhm/htop/tree/master/freebsd [1] https://github.com/hishamhm/htop/tree/master/openbsd [2] https://github.com/hishamhm/htop/tree/master/darwin
Re: Show HN: Htop 2.0 released, now cross-platform
#155Re: Show HN: Htop 2.0 released, now cross-platform
#156Earlier quoted context omitted.
> depends on having a unix filesystem. It doesn't do that. Before the multiplatform changes it did depend on having procfs (linux's I assume since BSDs had a non-identical procfs yet weren't supported), aside from the OSX fork which ripped out all the /proc access and replaced them with OSX API calls. What it does depend on is ncurses.
Ah, thanks for the correction. I had no idea it wasn't using procfs anymore, or that darwin was using something very different. TIL :)
It still uses procfs for Linux (since that's there by default), but not for the other ports. Consider Platform_getLoadAverage for instance:
* linux uses /proc/loadavg[0]
* freebsd and openbsd use sysctl({CTL_VM, VM_LOADAVG})[1][2]
* OSX uses getloadavg(3)[3]
[0] https://github.com/hishamhm/htop/blob/master/linux/Platform....
[1] https://github.com/hishamhm/htop/blob/master/freebsd/Platfor...
[2] https://github.com/hishamhm/htop/blob/master/openbsd/Platfor...
[3] https://github.com/hishamhm/htop/blob/master/darwin/Platform...
Re: Show HN: Htop 2.0 released, now cross-platform
#157Awesome! 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.
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.
Re: Show HN: Htop 2.0 released, now cross-platform
#158Earlier quoted context omitted.
It's just a little point of interest. I don't often think about my life intersecting with the nation off of Brazil, yet I use htop every day. Now I'll probably cast my mind to a Brazilian rainforest when I do. Just makes the world a slightly more interesting place.
Thanks! Always nice when we help to make people's perceptions of places less unidimensional. Brazil is not only a place with rainforests, we also have coders! :) (Though, even though I'm a (Southern) Brazilian myself, I used to think the whole "monkeys in the streets" here was a hoax until I moved to Rio de Janeiro and I realized they have tiny squirrel-sized monkeys running atop the power lines there!)
You'll excuse me, however, for continuing to cast my mind to a tranquil rainforest rather than a Brazilian coder at a keyboard. I understand they both exist, but one is far more relaxing to contemplate than the other! :)
Re: Show HN: Htop 2.0 released, now cross-platform
#159Earlier quoted context omitted.
I wager Elixir counts.
Wow, had no idea Elixir was created by a Brazilian as well. Nice, thanks!
Here's a little bit of the story on how we create it: http://blog.plataformatec.com.br/2015/01/introducing-elixir-...