Tree view is sorted by pid only, sorry. I'm afraid moving entire subtrees based on other criteria (such as CPU%) would make the screen unbearably jumpy.
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.
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.
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!)
I feel the unidimensional thing. Australians don't actually ride kangaroos to work! There is, if I'm honest, a wallaby living in the bush that abuts my property, though.
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! :)
This is kinda what set me off, one tend to stereotype with such information - was out written on an xo laptop in a favela, in a logging camp, on a super-yacht - a country name means something, I'm just not sure what. Countries as groups of people just seem too arbitrary to me I guess.
This is a legitimate question. I'm brazilian and I constantly see Facebook posts in Portuguese highlighting "Of the top X things, Y are Brazilian!", whereas I see none or very little of that in English speaking communities.
My theory is that there are relatively few great international contributions from Brazil and we rejoice anytime we see one.
> I see none or very little of that in English speaking communities.
Are you sure? Or do you just notice it less because the place names mean less to you personally?
Palto Alto / Silicon Valley / San Francisco Bay Area (roughly the same places, right?) get mentioned all the time.
You know what's in Redmond, right? And what's in Utah? :)
Wwhen a news article talks about popular software/service being developed outside of California, they usually spend a little paragraph or so on the place (blablabla cold winters in Maine blabla data centre bla--just made that one up btw).
Greetings from the land that brought you Python, a shortest-path algorithm and compact-discs ;-)
Actually I think that a locality and a country are quite different. If instead the comment was "these both come out of Brasilia" then there's perhaps some sense - one might think that perhaps there is some local culture that's aiding this sort of development or that there might be a local initiative that's helping to create a tech hub of sorts [but it could of course just be serendipity]. But just having a country in common - suppose one main developer is in a favela using a XO laptop and another is in a high class penthouse apartment, what's the link then, why does them being in the same country mean anything, they might not even talk the same language or have the same ethnicity.
Some interesting thoughts, thanks to all for tolerating my ponderings.
I was just installing an older version the other day on FreeBSD, and having to mount (unmaintained) procfs was quite annoying. So after seeing this link I specifically went to their site to check what they mean by "cross platform". They say procfs won't be needed anymore.
Speaking of which, does anyone know why OpenJDK wants procfs on FreeBSD? Is this a Java thing or a problem with libraries people write using Java?
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.
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):
I hit the same thing, so I figured I would try compiling from source.
I built ncurses 6.0 from source (installed to $HOME/local) and then htop 2.0 (also to $HOME/local) and it worked a charm. This was on a clean (took it out of the box today) 10.11 system.
Actually, it's the other way around - htop main site copied the idea from the post GP linked, and also doesn't display a live htop output but animates few fixed frames from said post instead.
This is really timely... I just got my new MBP today, so I've been installing all of my standard tools. Luckily I saw this before I used Homebrew to install htop!
I was just thinking that using braille characters would fill more area on the screen. In particular, | characters look very thin. A bunch of widely spaced green bars |||| is functional but not very appealing.
They look denser (could add two "lines" per character), but wouldn't be able to change the colors of these lines individually. Having said that, we use braille charecters when in "Graph" mode (F2 Setup > Meters > pick a meter > press Space until it goes to [Graph]).
Mainline htop never worked on OSX. OSX's htop is a fork of 0.8.2 with all the linux stuff stripped out and replaced, and then not really updated (let alone resynced with mainline): https://github.com/AndyA/htop-osx
Back in the day it wasn't unusual for something to support 30-odd variations on Unix, plus VMS and Windows. ./configure && make && make install. Those were the days!
158 comments
[ 5.3 ms ] story [ 202 ms ] threadI 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-...
Here's a little bit of the story on how we create it: http://blog.plataformatec.com.br/2015/01/introducing-elixir-...
It seems like information - the sort people go 'oh really, how fascinating' to - but I can't really see how it's relevant.
Anyone want to chip in and make a stand for national identity or anything?
To me it's kinda like you said 'find and grep are the two main contributions to OSS from the flan-eating community'.
Yes, I should probably just keep such thoughts to myself ...
Oh and htop is awesome! Only used Lua on a Minecraft mod (and an not a programmer/CS) so can't really comment on it.
(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! :)
My theory is that there are relatively few great international contributions from Brazil and we rejoice anytime we see one.
Are you sure? Or do you just notice it less because the place names mean less to you personally?
Palto Alto / Silicon Valley / San Francisco Bay Area (roughly the same places, right?) get mentioned all the time.
You know what's in Redmond, right? And what's in Utah? :)
Wwhen a news article talks about popular software/service being developed outside of California, they usually spend a little paragraph or so on the place (blablabla cold winters in Maine blabla data centre bla--just made that one up btw).
Greetings from the land that brought you Python, a shortest-path algorithm and compact-discs ;-)
Some interesting thoughts, thanks to all for tolerating my ponderings.
Checking my 40 core machine in a typical terminal window, I can't see any of the processes, just 40 lines of CPU! Thanks.
Hm. Given the opacity of that config file, I went the way "configure interactively, then roll out the new .htoprc"
It ran. It was not very fast.
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
https://github.com/AndyA/htop-osx
I hope the fork will be deprecated now for the official one. There's already a related issue on the repo.
Speaking of which, does anyone know why OpenJDK wants procfs on FreeBSD? Is this a Java thing or a problem with libraries people write using Java?
"iotop -o" is also useful, for seeing if that process is actually writing to disk
powertop is a great utility for improving laptop battery life - it highlights the things you need to adjust to reduce power usage
pgtop for postgres, but I've never used it
not "top"-branded, but lnav is an ncurses-based log navigator that's partially comprised of magic
and, of course, there are many varieties of "desktop" cough
Just did `brew update && brew upgrade` but not seeing an htop update. I am still running htop 0.8.2.8 via brew.
Also tried on an AWS server running Ubuntu, same thing `apt-get update && apt-get upgrade` no new htop version available. Running htop 1.0.2.
I built ncurses 6.0 from source (installed to $HOME/local) and then htop 2.0 (also to $HOME/local) and it worked a charm. This was on a clean (took it out of the box today) 10.11 system.
I keep a ~/local directory with built-from-source programs in it. That way I don't get any conflicts with system-wide package managers.
Configure line for ncurses:
And for htop, a regular configure worked fine: A quick check in my .bashrc (actually .zshrc) prepends $HOME/local/bin to my $PATH if it exists.I've got it on my list to fully fix it up and submit a PR, but feel free to flesh out my changes and submit instead :D
[0] https://github.com/Homebrew/homebrew/pulls?utf8=%E2%9C%93&q=...
Is it ok to steal back the gif? Because i think the server load is a bit to much with so many background reloads.
regular top has been catching up though and while htop is different and perhaps still better, regular top does the job for me in most cases.
That's not progress, it's just faulty marketing.
?
"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