Live data from Hacker News

Htop Explained Visually

codeahoy.com

11–20 of 41 posts

Re: Htop Explained Visually

#11
Htop is great!

One thing not mentioned in the article is you can interact with htop using the mouse, for example clicking on column headers to sort by that column, or selecting a process.

You can get get this mouse support for example by installing the gpm package, which enables the mouse support for the terminal.

Re: Htop Explained Visually

#15
post #5

As a consequence of trying htop after a long time, I got a reminder that VIRT is not related to RES. I noticed Libreoffice Calc with 29.7 GB of virtual memory and only 198 MB actually used. I wonder why LO made a malloc of nearly 30 GB, but memory is cheap especially because it's virtual. The next one on the list is Firefox with 8.5 GB VIRT and 994 MB RES. By the way, I've got 16 GB of RAM and no swap. Anyway all tha…

Maybe not malloc but mmap

Re: Htop Explained Visually

#16
Worth reading is the builtin documentation ("h" or F1). More things there like memory used in virtualization, T, Z and D for processes, and "l" and "s" commands.

I like these visual explanations though.

Re: Htop Explained Visually

#18

I love htop. But I can't figure out a way to disable the CPU monitors. I use a machine with 768 cores which makes it kind of useless.

Oh that is a little awkward. You can configure it, but the configuration options appear below the CPU bars. So if there's already so many that your screen is filled, that's a bit moot.

This stackoverflow has some pointers though: http://superuser.com/questions/806614/how-to-compress-or-hid...

Post reply on HN