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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
163 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 ...
user avatar
  • 157
2 votes
2 answers
732 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% ...
user avatar
  • 21
0 votes
0 answers
86 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% ...
user avatar
  • 101
0 votes
2 answers
382 views

Load average explanation for multi-core systems

I'm trying to understand the Load average in my Debian system. I've read some explanations of the displayed values and I came to understand that the number represents how "overloaded" my ...
user avatar
0 votes
0 answers
26 views

Where is my memory being consumed? [duplicate]

I have a Ubuntu 20.04 server which is reporting relatively low free RAM: top - 11:28:31 up 5 days, 20:12, 3 users, load average: 0.18, 0.26, 0.27 Tasks: 268 total, 1 running, 267 sleeping, 0 ...
user avatar
  • 101
0 votes
0 answers
29 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 ...
user avatar
0 votes
0 answers
271 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 ...
user avatar
0 votes
1 answer
73 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 ...
user avatar
  • 131
0 votes
1 answer
223 views

Why htop shows 48 sleeping processes while "show processlist" shows none? (MySQL 8.0.21-0ubuntu0.20.04.4)

SHOW PROSSESLIST shows exactly no sleeping processes. But Htop does: I got about 48 sleeping /usr/sbin/mysqld processes with high values of VIRT 15.2G and RES 6199M. What's going on there? Why these ...
user avatar
0 votes
1 answer
86 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....
user avatar
  • 101
0 votes
1 answer
288 views

Tomcat process which is listed several times

I have a Tomcat 9 server running on my Centos 7. When I issue the htop command I have a tomcat process which is listed several times and I would like to understand why it appears several times PID ...
user avatar
0 votes
1 answer
358 views

Where is my bottleneck: RAM, CPU or disk?

I have a 32 core, 64 thread, 128GB RAM system with internal SSD. I'm running 64 data mining/simulation jobs in parallel that each load 1GB from disk and run for about 5-10 minutes . I want to know ...
user avatar
0 votes
0 answers
56 views

new admin wondering why htop and top show different numbers on scientific linux VM [duplicate]

I am trying to figure out if I am using htop correctly. A top on this VM reveals: top - 17:52:39 up 98 days, 23:05, 1 user, load average: 0.04, 0.01, 0.00 Tasks: 178 total, 1 running, 177 ...
user avatar
  • 67
0 votes
1 answer
299 views

free and htop report totally different numbers

See the following screenshot: The "total" amount of memory is reported at 8GB by both htop and free, but while free reports that only 2.7GB is "used", htop reports that 7.53GB is used. free reports ...
user avatar
  • 1,173
2 votes
1 answer
3k views

Why is the memory consumption in htop not shown proportionally?

Based on this question the colours have the following meaning: Green = Used memory Blue = Buffers Yellow/Orange = Cache Now looking at my htop, I see only 878MB is taken, which includes a large ...
user avatar
  • 1,273
1 vote
1 answer
136 views

Why is htop only available in EPEL on CentOS/RHEL?

I'm just honestly curious why htop isn't available in the base, extras or even centosplus repos. To me it seems innocent and useful, but maybe I've overlooked some aspect of it, such as licensing, and ...
user avatar
  • 369
8 votes
1 answer
845 views

How to record and replay htop?

TL;DR Is there an option to run htop in a way that will generate some report and the load it using htop later? Similar to perf record and perf report. I'm a big fan of htop. I use it quite a lot when ...
user avatar
  • 111
1 vote
3 answers
329 views

Interpretation of server HTOP - is server Overloaded?

I have a server, which has 12 Cores, and usage is 42. What does it mean? As far as I know 1 i 100% of one core. So 42 is 100% of 42 cores?
user avatar
  • 1,181
2 votes
1 answer
974 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 ...
user avatar
  • 131
4 votes
0 answers
392 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 ...
user avatar
  • 351
1 vote
0 answers
34 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, ...
user avatar
1 vote
0 answers
325 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?
user avatar
  • 545
0 votes
1 answer
335 views

Cannot explain memory occupancy in linux

I'm working on a debian 9.3, the free command return total used free shared buff/cache available Mem: 131940516 100433176 29189576 33940 ...
user avatar
  • 101
1 vote
1 answer
2k views

Why do free -m and htop show different amounts of total memory?

When I run free -m, I get different data from when I use htop. free -m: total used free shared buff/cache available Mem: 992 396 149 ...
user avatar
0 votes
1 answer
150 views

Displaying multiple terminals in a single window

I'm trying to setup a dedicated computer for displaying server statuses, and I'd like to showing the output of htop for about 5 servers simultaneously in a grid of terminals. What's the most ...
user avatar
  • 3,440
6 votes
1 answer
10k views

htop shows 33% memory usage, but its Mem bar is full

When I run htop on a remote computer its Mem bar shows that memory is full and even swap shares 2.3G(also I can see the system works very slow). But htop's MEM% column shows about 33% memory usage. ...
user avatar
1 vote
0 answers
221 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 ...
user avatar
2 votes
1 answer
248 views

Multliple core overload above 100% on Centos7 Supermicro Server

I am running Centos 7 (3.10.0-514.26.2.el7.x86_64) on a supermicro H8QG6 board with 4 AMD 6276 cpus (16 cores), for a total of 64 cores. I use it for scientific computing, and usually everything runs ...
user avatar
  • 51
1 vote
1 answer
1k views

htop: the CPU load of individual process is higher than the CPU load according to the CPU bar

I run a python network client (it actively downloads video through TCP) inside of VirtualBox (5.1.26) and the CPU load of this process is much higher (20%) than the CPU load according to the CPU bar ...
user avatar
  • 119
2 votes
1 answer
244 views

how to find Linux processes started at a certain time

I am trying to debug Linux vnc session that is not responding. I think I clicked the KDE konsole icon and that is when the vnc session became frozen. I can see the windows and menu in KDE but nothing ...
user avatar
0 votes
1 answer
596 views

SNMPD reporting conflicting CPU usage to top/htop

I've got a bit of an issue with reporting discrepancies. I've currently got a server running Ubuntu 14.04.1 trusty and am receiving SNMP alerts saying that 2 of my cores are at 100% usage. When I ...
user avatar
2 votes
0 answers
267 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 ...
user avatar
  • 165
18 votes
1 answer
20k views

htop - show I/O wait percentage

Is there a way to show I/O wait percentage in htop? I can't find a way how to enable this. On the following link there is an example of the functionality I need (the "Avg:" row): http://www.concept47....
user avatar
  • 315
11 votes
3 answers
84k views

Equivalent to the htop command on Windows

I installed an nginx server on Windows, then ran it and tested it by accessing it on the local host. However I want to see more details which I can see on a Linux environment when running the htop ...
user avatar
2 votes
1 answer
6k views

What does a red swap bar mean, in htop?

In htop, there appear bars that show CPU, MEMORY and SWAP. In What exactly do the colors in htop status bars mean? , I saw the meaning of the colors for the CPU bar and the MEMORY bar. What do the ...
user avatar
  • 139
-2 votes
2 answers
109 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 ...
user avatar
7 votes
1 answer
2k views

htop cgroup column widen

How can I see full length of text CGROUP column in htop? I cannot enlarge it.
user avatar
10 votes
1 answer
6k views

htop res & virt colors

I did some googling about htop, I found this and this. But I couldn't seem to find what the red color of virt and res means. As you can see in the screenshot, some are whitish and other are red. Does ...
user avatar
  • 203
1 vote
1 answer
2k views

htop 100% fake CPU load

Recently my VPS show 100% CPU usage of all cores in htop and observium, but there is no process that uses > 5% CPU. In fact, the statistics of my VPS host shows there is no activity at all. Is this a ...
user avatar
-3 votes
2 answers
52 views

Child proc in highload

I need to know why this child proc is using 208% of my CPU. I think it would be a good idea to find the pathname of it. Do you have any idea how to find it? 4910 root 20 0 9691M 2006M 7924 R 208. 12....
user avatar
0 votes
1 answer
316 views

understanding htop on ubuntu machine and debugging performance bottleneck

I have the following stats when I do a htop: I don't understand although it says that I have 7450MB memory the graph goes towards the end. Why is this?
user avatar
  • 627
1 vote
1 answer
2k views

htop CPU usage information does not look consistent

Please have a look at htop screenshot below You can see there that current host has two CPU cores (or CPUs). All processes are ordered by CPU usage descending. So how is it possible that with two ...
user avatar
  • 261
2 votes
1 answer
385 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 ...
user avatar
1 vote
2 answers
841 views

RHEL5: htop shows empty command-column

When issue the command htop on my RHEL5 box I get a normal view, however when I scroll down I have several "blank" command ranges as can be seen here: Can someone explain me how this happens/...
user avatar
  • 958
1 vote
2 answers
2k views

top and htop disagree on memory usage, but swap is being used on GlusterFS server. Can this be improved?

If I run free -m, top and htop, I get different memory uses. The system is also using a small amount of swap. I understand from this question why they are reporting different values (some of the data ...
user avatar
0 votes
1 answer
721 views

/usr/sbin/apache2 -k start command in HTOP running consistently. Is it a bot?

I have got a VPS with six websites running on it. None of them get very much traffic at all, maybe 10-20 a day each. As far as I am aware, /usr/sbin/apache2 -k start should represent a user hitting a ...
user avatar
  • 37
-1 votes
1 answer
263 views

Using Ubuntu htop, I'm checking my memory and it says it's using ~530/590mb, is this safe? [closed]

I'm just configuring some backend stuff and going through my aws.micro install. Using htop I can see my memory is hovering around 530mb out of a total 590mb. The colouring in htop still shows it ...
user avatar
1 vote
2 answers
2k views

Understanding difference between system and process memory in htop

I'm a bit confused by the memory stats that htop is reporting on one of our servers. On the top bars, it's showing system memory as: Mem: 456 / 7950MB So, looks very low usage. However, my main ...
user avatar
  • 1,598
0 votes
2 answers
394 views

Is it possible to monitor CPU usage and execute a script if the CPU exceeds a certain amount?

Using a tool like top or htop, is it possible to monitor CPU usage and execute a script if CPU usage exceeds a certain amount?
user avatar
  • 101
7 votes
6 answers
8k views

25 Sidekiq processes for Gitlab

Looking at htop output on my server I see 25 sidekiq processes spawned by Gitlab. I use Gitlab privately, so there is never going to be any load, so I doubt all of those processes are required, but I ...
user avatar