htop is an interactive process viewer for Linux. It is a text-mode application (for console or X terminals) and requires ncurses.

learn more… | top users | synonyms

0
votes
0answers
15 views

How to stop htop from scrolling the window?

htop has a SortBy option, but whichever option I use it continues to scroll the window and rearrange each process in the view (because it's constantly sorting). Is there a way to make it stop ...
2
votes
1answer
53 views

How to collapse all trees in htop?

I would like to be able to collapse all the trees in the default view of htop. Is there a way to achieve that at once, instead of selecting every tree and hitting F6?
0
votes
1answer
60 views

Gnome-terminal color inversion

I have some custom colours set up inside gnome-terminal, basically light text on dark background. The problem is, some programs interact badly with the colors. For example, htop uses very light ...
4
votes
1answer
263 views

Is there a way to copy text in htop?

Normally in putty you can just select text to copy it, but I can't seem to select text with my mouse in htop. Of course there's no right click menu to copy, ctrl+c doesn't work, and I didn't see any ...
1
vote
2answers
182 views

How to compress or hide the processors at top of htop on large machines?

I like to use htop to show me how the server is being used. Unfortunately with modern servers, the machine might have 48 or even 120 cores. This means that I can only see the first few lines of htop ...
1
vote
1answer
98 views

How to interpret this htop output?

CPU is pinning on one of our app server (Java) machines. When I run the htop command on the machine and switch to Tree View I see: |- java -Dcom.sun.management.jmxremote -Dfizz=buzz | |- java ...
0
votes
1answer
161 views

analyzing htop data in ubuntu

i am trying to find bottleneck in my server, specifically in my web application of why things are running super slow. Here is a screenshot of my htop: As far as I can tell mysql here is almost ...
2
votes
1answer
159 views

Sorted tree view in htop or alternative?

I am running a Debian flavor of Linux, and I use htop to keep track of memory usage, since it is more detailed than top. I can't seem to get it to sort by memory and display process trees at the same ...
1
vote
1answer
594 views

Run htop over ssh via single command

I want to run htop over ssh - but launch it automatically on a keyboard-less system with a shell script. My first idea was ssh user@test.home 'htop' but: Error opening terminal: unknown. Is ...
1
vote
2answers
132 views

htop status bars in motd

I'd like to put the htop status bars, that show the percentage of CPU usage and memory, in my MOTD, so that every time I log in I see an overview about the systems health status. Any idea how to ...
12
votes
1answer
3k views

What do the colors mean in htop?

For the CPU cores, I think that blue means nice, green normal CPU use and red I/O. But I'm not sure and I haven't found a definite answer. Then there are the colors for memory. What do green, blue ...
1
vote
1answer
1k views

About Load average in htop, how to decide if it's still doing ok?

I use 'htop' to monitor my web server. It's recently quite loaded and the Load average is showing something like this: Load average: 3.10 2.56 1.63 I searched the web about these numbers and I ...
1
vote
0answers
208 views

Convert htop output to HTML

I wish to view the output of htop as a web page (and possibly add interactivity later on) and I expected this to be readily available (e.g. ncurses capture-screen-and-convert-to-html), but I had no ...
0
votes
0answers
100 views

LINUX: How to make 'htop' sort? F6 works, but won't let me select anything

I'm using htop in Linux, and I'm trying to set it to sort by Time+ instead of CPU%. So I press "F6" to open the 'sort by' menu, but it won't let me select anything. The arrow keys don't work in the ...
5
votes
1answer
4k views

How to install htop on OS X using Homebrew?

I am trying install htop using brew: ➜ ~ brew install htop Error: You must `brew link autoconf' before htop-osx can be installed Then I am doing brew link autoconf Linking ...
0
votes
2answers
1k views

rm -rf extremely slow & slows down server

I did a rm -rf foldername in an attempt to delete a folder containing 10,000s of 25KB files. Question Why is it taking so long (Almost 30 minutes)? Why did the server became extremely slow, even ...
4
votes
1answer
3k views

How do I read htop

I'm having trouble understanding the information displayed by htop the popular replacement for the Linux top command. In the above screen shot, there are many java instances listed, but only the ...
0
votes
2answers
766 views

htop does not show all processes

I'm using Ubuntu 12.04 with LXDE desktop environment. Sometimes my computer runs really slowly and the LXDE its CPU graphic shows a permanent 100% CPU usage. However, when I'm opening htop in a ...
0
votes
1answer
240 views

How does cpu speed stepping effect the cpu usage percentages reported in (for example) htop?

How does cpu speed stepping effect the cpu usage percentages reported in (for example) htop? How about the normal top? So, if my cpu is stepped down to 800mhz with a full speed of 2ghz, does 5% used ...
43
votes
2answers
5k views

htop isn't returning CPU or memory usage!?

I think that top is great application to monitor a Linux system. I really like it, but top doesn't look so good on Mac. I know that Mac have a system monitor to do it, but I prefer using a terminal. ...
3
votes
2answers
1k views

How to make htop sort by PID

How can you make htop sort the list of processes by PID?
2
votes
1answer
920 views

Why do I see 100% CPU spikes when looking at htop?

Occasionally, when looking at htop, I'll see my CPU spiking to 100%. However, when I sort my running processes by CPU utilization, they don't sum to 100%. They don't even come close. What "hidden" ...
3
votes
1answer
1k views

“Supervising” syslog-ng in htop

I was working at my server, when in htop I just noticed something unusual. The syslog-ng process was listed as follows supervising syslog-ng /sbin/syslog-ng I don't know what it means. I tried ...