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.

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
2 answers
4k views

100% CPU usage reported, but no processes using the CPU

I am running Debian 10 (kernel 4.19.0-18-amd64) on bare metal and I have recently noticed strange CPU usage. Screenshot of htop, sorted by CPU% Screenshot of top, sorted by CPU% As you can see, 100% ...
tomf's user avatar
  • 51
4 votes
0 answers
560 views

why doesn't htop display the same process start time than ps

Ubuntu 16.0.4.5, htop 2.0.1 and 2.2.0 compiled from source. Showing the STARTTIME column in htop, displays Jan25 but ps -o lstart displays Sat Dec 15 20:58:46 2018 By looking at the pid it seems ...
erny's user avatar
  • 351
3 votes
0 answers
157 views

Multiple instances of app in htop

Why does htop show two instances of my GUI app TradeClient? while I started only one instance? System: Ubuntu 22.04 VPS with X11 (I connect with VNC) What is its CPU usage? EDIT1 htop -t EDIT2 ...
Alexey Starinsky's user avatar
2 votes
1 answer
1k views

docker stats memory lower than top's rss

I created a container, in which I've created ~10 processes. I want to analyze how much memory they're consuming. To achieve that, I ran top inside the container, and docker stats outside. In top, I ...
speller's user avatar
  • 131
2 votes
0 answers
288 views

Why does htop show 430% CPU?

I'm confused by the CPU% values of this multi-threaded program. Is 430% the sum of all threads? If so, how do I find out the CPU% of the main thread itself (1776)? PID USER PRI NI VIRT RES ...
XTF's user avatar
  • 195
2 votes
1 answer
553 views

Debian 100% cpu every 30 minutes but not loggable?

I have a Debian 7 x64 machine running with Digital Ocean that has every 30 Minutes a 100% cpu usage for about 1 minute. A couple of days ago it stayed there for a couple of hours so the server finally ...
user654123's user avatar
1 vote
0 answers
529 views

Linux: 100 Mi RAM free but no processes with high-memory usage

A Debian Bullseye server is using almost 100% RAM quantity (7.65G / 7.79 G): But there are no processes with more than 0.0% memory usage DEV root@postgres2 ~# free -h total used ...
Mat's user avatar
  • 1,903
1 vote
1 answer
685 views

Bridge interface causes high CPU utilization

We are facing a weird issue with a server we have on our laboratory. Specifically, the server shows high CPU utilization from low priority processes (blue color in htop) with 50% of the cores ...
Dimos Masouros's user avatar
1 vote
1 answer
256 views

Pink in memory htop

What does the pink color in memory htop means and how can I reset it? You can see example here: htop preview
Maor Bari's user avatar
1 vote
0 answers
1k views

Memory usage: big difference in `free -m` and htop as well calculation of used memory in htop compared from /proc/meminfo

I'm aware of this question https://stackoverflow.com/questions/41224738/how-to-calculate-system-memory-usage-from-proc-meminfo-like-htop Answer seems outdated regarding memory usage and this question ...
Hannes's user avatar
  • 327
1 vote
0 answers
663 views

Memory usage doesn't add up: most of the RAM gone mysteriously

I have a Fedora 30 [5.6.13-100.fc30.x86_64] machine with 32GB of RAM onboard. Right after boot both free -h and htop indicate that 21-22GB is used: [ andriim@dev-r-vrt-007 ~/work ] $ free -h ...
Andy Mac's user avatar
1 vote
0 answers
40 views

Invalid cpu values in top for EC2 AWS instances

We are seeing what appear to be invalid values in top on more than one of our AWS instances: top - 08:44:56 up 259 days, 17:31, 1 user, load average: 0.01, 0.02, 0.01 Tasks: 78 total, 1 running, ...
mikedavies-dev's user avatar
1 vote
0 answers
467 views

Why is my tasks's CPU usage not showing in the graph in htop?

CPU is holding at a steady 200% (task is CPU-bound), but it is not showing in the graph. Why not?
fredley's user avatar
  • 575
1 vote
0 answers
297 views

how to read ram usage from new versions of free and htop?

before I switched to Ubuntu 16.04 64bit server on my VSPes (based on OpenVZ), I used to read the output from free and htop to analyze the actual RAM usage. Now with 16.04 that comes with the new free ...
Sandro Antonucci's user avatar
0 votes
0 answers
48 views

list only one Process by name in htop (even when it restarts?)

i am trying to get htop to show me one process. this is a programm i wrote wich comes up from time to time (so it always has another pid). what i am trying is something like that: htop -p $(pgrep ...
Hannes F's user avatar
  • 101
0 votes
0 answers
190 views

How can I get the query string, starting by the process id associated to the Postgres connection running it (output of htop)?

I have a machine, let's call it DB_server, which is connected to two application machines, let's call them application_server_1 and application_server_2. DB_server hosts 3 postgres databases on it, ...
Tms91's user avatar
  • 103
0 votes
0 answers
65 views

how much data does htop transfer from remote?

If I am connected by ssh to a machine running htop, how do I calculate how much data the htop process is sending from the remote to the machine with ssh terminal? For example having htop open for a ...
art vanderlay's user avatar
0 votes
0 answers
257 views

ubuntu htop half of cores in blue 100%

I had try to reboot my server with two e5-2637v3 cpu. does blue mean nothing to do?
user13102's user avatar
0 votes
0 answers
327 views

Multiple core overload on Ubuntu

I have a really strange behavior of the server. I run Apache, MySQL, WordPress on it. And recently, it has had a lot of freezes. MySQL/Apache shows high CPU usage (out of 24 cores - 2400% cpu% ...
a b's user avatar
  • 101
0 votes
0 answers
60 views

Messagebus is using more than 4 GB RAM

I have just checked my Server and it is running relativly low on RAM. There are currently no users on anyone of the Services Installed (Jitsi, Rocket.Chat, OnlyOffice Workspace) as they're all still ...
Nicolas Mierbach's user avatar
0 votes
1 answer
217 views

Tightvnc Server using only 1 core?

I have a server setup with 8 cores and 32gb of RAM. I am using it to launch as many java applications as I can and hope to make the most efficient use of my resources. Upon launching I notice the ...
Plee's user avatar
  • 131
0 votes
1 answer
207 views

Why do EC2 instances sometimes end up giving a very high IRQ load in htop?

We have a couple of t3.small instances. This is what the CPU utilization graph ends up looking like for both of them (running similar programs). Both seem to end up stabilizing at 20% CPU utilization....
wireman's user avatar
  • 101
-1 votes
1 answer
1k views

What do negative numbers under TIME+ in htop mean?

What do the red negative numbers I'm seeing displayed in htop mean? Should I be worried?
David Eyk's user avatar
  • 667
-2 votes
2 answers
121 views

ubuntu server 14.04 LTS unusual outgoing traffic

I have virtual private host with ubuntu server 14.04 LTS. On this server, we serve web service. We run apache2 and tomcat as web server. apache2 + django1.8 and tomcat8 recently, I observed the server ...
mahmoud's user avatar