htop is an interactive process viewer for Linux. It is a text-mode application (for console or X terminals) and requires ncurses.
Questions tagged [htop]
71 questions
81
votes
2 answers
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 and yellow mean there?
the
- 2,751
- 1
- 26
- 35
80
votes
5 answers
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.
I have installed htop by running:
brew install…
Yuan He
- 933
- 1
- 7
- 8
76
votes
5 answers
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 and never the second half of the htop display…
Unapiedra
- 1,370
- 1
- 9
- 11
65
votes
3 answers
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 copy command in the help menu.
Is it possible to…
Nate
- 1,505
- 6
- 23
- 28
42
votes
3 answers
How to freeze the list of processes in htop?
I'd like to stop refreshing the list of processes. My problem is it refreshes itself too often.
How can I do it? I use htop.
user1871996
- 535
- 1
- 5
- 6
25
votes
2 answers
What does 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?
IvanTrofimov
- 521
- 1
- 4
- 9
23
votes
5 answers
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?
geo909
- 418
- 2
- 5
- 11
23
votes
1 answer
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 [email protected] 'htop'
but:
Error opening terminal: unknown.
Is there any way to start htop remote without typing the…
wb7
- 355
- 1
- 2
- 7
20
votes
4 answers
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 time. Is there a way to do this with htop or an…
bright-star
- 1,569
- 2
- 14
- 28
12
votes
1 answer
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/autoconf/2.69... Warning: Could not link autoconf.…
Voldemar Duletskiy
- 243
- 1
- 2
- 7
12
votes
3 answers
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 terminal, it says only ~10-30% of CPU is used. Why…
user1399681
12
votes
2 answers
htop - what is task, thread and running?
Htop gives me the following output :
The values didn't change for the last minutes.
So I wonder, what is the difference between "task", "thread" and "running" ?
I had a look to this page :…
Romain Jouin
- 259
- 1
- 4
- 15
11
votes
1 answer
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 formula tells me that I need to run htop as root, using sudo.
On a Linux system, it…
JoeNyland
- 276
- 1
- 10
11
votes
2 answers
How to make htop sort by PID
How can you make htop sort the list of processes by PID?
tony_sid
- 14,001
- 51
- 139
- 194
10
votes
1 answer
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 parent one uses CPU time. What are the others?
Why do…
Luke Puplett
- 1,561
- 5
- 18
- 29