Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
27 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, ...
0
votes
0answers
31 views

apache2 & mysqld start many times by themselves, high memory load

When I start Apache2 service and I check the processes using htop, I see that 3 or 4 commands /usr/sbin/apache2 -k start are running without using that much of memory. But at the very moment I start ...
1
vote
0answers
49 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?
0
votes
0answers
31 views

Tracking newly spawned PHP processes

I am trying to track newly created processes created by one of our apps - currently I am aware of those two solutions: Solution #1 - I can actually see the process started and stopped but i need to ...
0
votes
1answer
66 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 ...
0
votes
0answers
151 views

Htop load average 30

I'm running an application which, for now, uses the bakery algorithm for syncronizing N processes, but with this method i do a lot of busy waiting on my cpu, in fact as you can see from the title i ...
1
vote
1answer
304 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 ...
0
votes
1answer
40 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 ...
1
vote
1answer
1k 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. ...
1
vote
0answers
77 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 ...
2
votes
1answer
86 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 ...
0
votes
1answer
370 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 ...
2
votes
1answer
52 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 ...
0
votes
1answer
211 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 ...
2
votes
0answers
110 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 ...
7
votes
1answer
5k 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....
3
votes
2answers
16k 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 ...
-2
votes
1answer
2k 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 ...
-2
votes
2answers
92 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 ...
6
votes
1answer
816 views

htop cgroup column widen

How can I see full length of text CGROUP column in htop? I cannot enlarge it.
5
votes
1answer
3k 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 ...
1
vote
1answer
1k 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 ...
-3
votes
2answers
37 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....
0
votes
1answer
234 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?
1
vote
1answer
1k 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 ...
2
votes
1answer
275 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 ...
1
vote
2answers
573 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/...
1
vote
2answers
1k 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 ...
0
votes
1answer
494 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 ...
-2
votes
1answer
230 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 ...
0
votes
2answers
834 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 ...
0
votes
2answers
280 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?
7
votes
6answers
7k 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 ...
2
votes
1answer
276 views

read-only `top` in linux?

I have a few servers with an application for some clients, and I want to make an application available for the client to view the server and application status, and to be able to restart some services....
20
votes
2answers
28k views

How to read memory usage in htop?

It's my htop output: For example, I'm confused by this ruby script: How many physical memory is it using? 3+1+8+51+51? 51? 51+51?
1
vote
1answer
863 views

Two CPU cores at 100% utilization after soft lockup on two CPUs, is this normal?

I had two of my CPUs lock up on one of my servers. From dmesg: BUG: soft lockup - CPU#1 stuck for 23s! [vmx-vcpu-0:6148] and later: BUG: soft lockup - CPU#2 stuck for 23s! [vmx-vcpu-0:6148] I'm ...
1
vote
1answer
732 views

htop lying about vmware-tools memory consumption

I am experiencing a problem where htop (top too) is incorrectly reporting the memory consumption of a process, in this case the vmware-tools service (highlighted below). I am colorblind and thought I ...
0
votes
2answers
330 views

Debain server “HTOP”: shows several PHP-CGI instances

I'm new to Debian servers, (Linux VPS in general) and have a question about /usr/bin-php-cgi showing up several times as "tasks" when I run the HTOP "app." htop screenshot http://i45.tinypic.com/...
5
votes
2answers
9k views

How is htop “Swp” calculated?

When I run htop (on OS X 10.6.8), I see something like this : 1 [||||||| 20.0%] Tasks: 70 total, 0 running 2 [||| 7.2%] Load average: 1.11 0....
1
vote
3answers
1k views

Htop installation failed

I'm trying to install the htop , but I can't since I'm getting this fatal error: # cd /usr/ports/sysutils/htop && make install clean ===> Installing for htop-1.0.1 ===> htop-1.0.1 ...
0
votes
1answer
2k views

memory difference on top and htop

I got a new VPS as my database server. I installed only mysql and started. After some time(even after shutting down mysql service), I see only %3-4 of the memory used in htop but according to top I ...
6
votes
1answer
5k views

htop Memory meter is full. I haven't even started any service yet

I don't understand why my htop meter is full already. I'm not even running some task. Here's the screenshot of my htop: The green meter shows used memory, the blue meter shows buffers, the yellow ...
7
votes
1answer
3k views

Why do I see many mongod processes running?

I am running a single MongoDB database. No sharding. When I run htop, I see a lot of instances of mongod. Is that normal? Does every connection create a separate mongod process? Should I be concerned? ...
-1
votes
1answer
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?
0
votes
6answers
2k views

Running really slow on my Linux workstation, need some assistance

I have something weird going on with my workstation, like see it says 42.1%wa, whenever I get to this it becomes so slow, any ideas what can be done, how I can identify what's causing it and all? top ...