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
2answers
17 views

How do I use top (or equivalent) to determine if a process is behaving badly?

Are there indicators for when a process has "gone over to the dark side"? I feel that just using MEM% and CPU% are poor indicators for detecting things such as memory leaks (or other problems, ...
0
votes
1answer
19 views

Can't delete meters on htop with the delete key

When customizing htop my setup through the F2 menu, I accidentally put up some unwanted meters. I tried using backspace/delete according to the bottom menu, but it didn't affect the entry. I'm using ...
0
votes
2answers
143 views

What do the yellow color of CPU mean in htop?

if press h inside htop for quick help: CPU Blue : Low-priority threads Green : Normal priority threads Red : Kernel threads Turquoise : Virtualization threads but yellow?
2
votes
3answers
37 views

Is there a way to copy text in htop on Mac OSX?

I wanted to copy all of the process information related to a specific program/software (Adobe in this case, other ones in the future) and so I tried holding Shift as mentioned here: Is there a way to ...
1
vote
1answer
174 views

How pause list of process in htop?

I should like stop refreshing list of process. My problem is in often refresh list. How I can do it? I use a tool htop.
0
votes
0answers
40 views

htop process viewer - set column width

I try to enlarge the htop column's width. I've found a solution here, but it seems very specific and also too difficult. Is there any simpler way to make all the characters in a column visible?
1
vote
0answers
63 views

How to view child process sorted by aggregate memory usage?

I'm using top/htop to track memory usage on Linux. I'm seeing a lot of child process consuming a ton of memory, but I'm having trouble finding their parents. How can I see a process tree view sorted ...
0
votes
1answer
163 views

Why does htop on Mac OS X require root privileges to see data for all processes, but on Linux it runs without root

I use htop all the time when I'm working on Linux system. I've installed htop-osx through Homebrew on my Mac, but in order to see all data for all processes, the recipe tells me that I need to run ...
0
votes
1answer
98 views

Should I trust htop or top when it comes to RES memory?

I am writing a program to test some memory usage metrics on our systems and I want to hit a target memory consumption. You execute my program via meminflate.exe -G 103.1 if you want to take up 103.1 ...
0
votes
1answer
54 views

Why Menu Meter and htop report inconsistent occupied memory and total memory?

On my Macbook Pro running OS X 10.10.3, Menu Meter and htop seem to be reporting inconsistent memory results:
5
votes
2answers
427 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
176 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 green/...
7
votes
1answer
1k 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 ...
3
votes
2answers
2k 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
243 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 -Dcom....
0
votes
1answer
516 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 ...
6
votes
1answer
376 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 ...
5
votes
1answer
2k 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
327 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 ...
17
votes
1answer
6k 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
3k 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
510 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
145 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 '...
7
votes
1answer
8k 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 /usr/local/Cellar/...
1
vote
2answers
2k 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 ...
6
votes
1answer
6k 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
1k 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 ...
1
vote
1answer
270 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 ...
70
votes
3answers
10k 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
2k views

How to make htop sort by PID

How can you make htop sort the list of processes by PID?
2
votes
1answer
1k 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" ...
4
votes
1answer
2k 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 ...