Questions tagged [htop]

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

75 questions
92
votes
7 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,620
86
votes
3 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,929
83
votes
4 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,723
81
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
  • 943
58
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
  • 695
  • 1
  • 6
  • 6
28
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
  • 571
  • 1
  • 4
  • 9
24
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
  • 436
24
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 user@test.home 'htop' but: Error opening terminal: unknown. Is there any way to start htop remote without typing the…
wb7
  • 365
  • 1
  • 2
  • 7
23
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,619
18
votes
3 answers

How to make htop to display network info and IO info like this?

Recently I saw this htop screenshot with network info displayed also the IO tab and main tab: Below the SWAP area, there is a disk IO summary, and then an individual IO tab, in right-side below load average, the network speed info. I have been…
liuru
  • 183
15
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 :…
14
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
  • 306
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.…
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

How to make htop sort by PID

How can you make htop sort the list of processes by PID?
tony_sid
  • 14,957
1
2 3 4 5