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]
126 questions
0
votes
1 answer
How to use multiprocessing in python without duplicating large read-only dictionary
I have a Look Up Table LUT which is a very large dictionary (24G).
And I have millions of inputs to perform query on it.
I want to split the millions of inputs across 32 jobs, and run them in parallel.
Due to the space contraint, I cannot run…

leonardltk1
- 257
- 1
- 4
- 18
0
votes
2 answers
Why is the status of top or htop always "R" (running)?
top and htop are commonly used tools to monitor processes and computer resources, but why is the status of top itself always R (in the S column of the top)? For example, here is a screenshot of the top command:
top - 12:42:33 up 2:48, 1 user, …

foool
- 1,462
- 1
- 15
- 29
0
votes
1 answer
Cassandra: Is it normal to have so many gc.log processes
I am quite new to cassandra, so if someone can explain me what I see here. I have a cassandra ring with 16 nodes(simple strategy) and if I use htop on the nodes I see too many gc.log processes taking place which also I think occupy a lot of memory!…

Des0lat0r
- 482
- 3
- 18
0
votes
1 answer
How to include htop in buildroot
I'am using buildroot but it looks like the depencies for the htop package are wrong.
I've selected htop and host-python but when building buildroot will try to compile htop first and stops with the following error:
>>> htop 2.2.0…

Daniel P.
- 809
- 8
- 15
0
votes
0 answers
Differences between cpuinfo and htop
Just for the fun I made a little programme to display the activity of my cpu on ubuntu.
My program read and parse the /proc/cpuinfo file, and it works.
But there is the deal, I display the data and next to it I opened htop and the cpu usage is a…

Thibaud
- 1,059
- 4
- 14
- 27
0
votes
1 answer
Prevent excessive CPU usage of Golang background process
I am writing a Go program that watches files and run a system command if one of the files has changed. So far, it works well. I have questions regarding my main "infinite" loop because I don't want it to take all system CPU…

COil
- 7,201
- 2
- 50
- 98
0
votes
1 answer
Run shell commands with imaginative display
I am trying to output htop output on my server as a viewable HTML page so I can check on it easily. I got the export to HTML part done already (using echo q | htop | aha --black --line-fix). This works perfectly fine when I'm using it interactively,…

157 239n
- 349
- 3
- 15
0
votes
0 answers
Apache2 - strange sh process in htop?
The server is cent os with apache2+php configured. Sometimes the pages are getting locked. Too much time to respond.
While checking htop in server found strange processess. All values are zero for this "sh" processes.
Can't find how it got created?

Giri Annamalai M
- 810
- 9
- 24
0
votes
1 answer
How to find %RAM and %CPU consumption of individual thread of running process in Linux?
I creating an application for monitoring the thread of the running process.
I want to find out no of threading it running and CPU and RAM consumption of individual thread.

Abhishek Paharva
- 5
- 5
0
votes
1 answer
Several Apache2 processes running, using 100% CPU
I'm having this issue where the Apache service runs like 15 processes, using like 14% of CPU each, and I don't know how to track them. I'm using Linux in a DigitalOcean droplet, and I have like 6 sites enabled (some WordPress ones).
I already…

Ulises Tejeda Chávez
- 11
- 2
0
votes
0 answers
htop : swapping when still having freememory
I am using htop and I don't understand this output (MAC OS 10.13):
I understand there is 748 M of swap, while 4.7g of memory is free.. Why is there swap when there is free memory ? Do I miss something ?

Romain Jouin
- 4,448
- 3
- 49
- 79
0
votes
0 answers
Converting escaped codes in Htop output
I'm attempting to show the hostname above htop output, in order to better identify which server its monitoring. I haven't found a good way to do this, but the closest I've gotten is with the command:
watch --color -t "hostname; echo q |…

Cerin
- 60,957
- 96
- 316
- 522
0
votes
1 answer
OpenCV forEach function parallel access
I'm processing RGB images and doing the same thing for each channel (R+G+B) so I've been looking for parallel functions that could help me improve my code and run it (3*?) faster. Now Im using forEach function like so:
unsigned char lut[256];
for…

Ja_cpp
- 2,426
- 7
- 27
- 49
0
votes
2 answers
Linux Webserver - htop shows extreme cpu usage?
I am a bit confused about what the tool "htop" shows as cpu usage and average load. I was asked to have a look at a webserver which is performing incredibly slow.
I googled a bit and always found the statement that everyting above 1.00 in average…

hallleron
- 1,972
- 3
- 13
- 18
0
votes
1 answer
How to show processes list in zabbix in ubuntu 16.04
I am new in Zabbix, which I am running on about 20 Linux machine (Ubuntu 16.04). I want to see all processes there are on each machine just like PS or hop. Are there any solutions you suggest? I want to have it like the CPU utilization and memory…

bibou test
- 35
- 1
- 8