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
0answers
30 views

What is the real command to know the total real time CPU % status on Linux env and what is the ideal value

I understood that top and htop give a lot of info in real-time on the server status. But what really gives me the total CPU of the server? can I rely on the id column from the top command: %Cpu(s): ...
0
votes
0answers
22 views

How to obtain more forensics information on a process showing on htop in a linux system?

Upon running htop I found two strange processes running on my machine which have the following commands: /bin/sh -c npm run serve and sh -c node src/index.js and some other for a python script. ...
1
vote
0answers
69 views

Why there are some black block in my htop display?

The color of graph used to look fine, but I don't how it become so ugly recently, with a black block inside. My computer is Mac OS and I'm using default terminal to connect my remote server. Besides, ...
0
votes
0answers
38 views

Why does HTOP show bigger usage than defined in cgroup 'memory.limit_in_bytes' parameter?

I have defined the memory limit parameter in self-created cgroup test-group: $ cat /sys/fs/cgroup/memory/test-group/memory.limit_in_bytes 15998976 After it, I'm executing the Python builtin ...
1
vote
0answers
75 views

How to Collapse the View of **ALL** instances of all applications

After executing the htop command, you can press F5 (or t) in order to see the tree view. But how do I collapse the tree for having a higher order view only instead of the long list of all processes? ...
2
votes
1answer
754 views

How to install “htop” without root previllege

I have searched online with no luck. Question is in title. So, is it possible? If it is possible, would you provide step-by-step procedure to install it? Thanks. I am on Ubuntu 16.0.4
4
votes
0answers
1k views

HTOP shows massive memory usage but proceslist shows otherwise

I'm running htop on my Ubuntu 16.04LTS server to monitor my CPU and RAM usage. I'm aware of the color indications used by htop as outlined below: So, when I look at my htop-overview, it shows me the ...
2
votes
0answers
1k views

What does ? status in htop mean?

I see ? in the S column of htop output. But the manpage only has the following states. What does ? mean? Thanks. STATE (S) The state of the process: S for sleeping (idle) ...
1
vote
1answer
954 views

htop memory usage does not add up with process list

I am using lxd to run multiple containers and having trouble reporting the memory usage: both htop and free shows high memory usage but the list of processes that uses memory is very short and doesn't ...
1
vote
1answer
804 views

Copy text from htop with long line

related to this question, I want to inspect a command listed in htop, but the command is very long. Therefore the suggested anwer to select text while holding shift does not work as it does not select ...
1
vote
1answer
511 views

What am I seeing in htop on Linux?

Not sure if this is the right place for this question but I'll ask it anyway and see where it lands! I have a node process running on Centos and when I run htop, I see a whole bunch of processes that ...
5
votes
1answer
998 views

How to filter multiple users in htop?

TL;DR: Is there any way to filter two users processes at the same time in htop? I'm trying to get a list of processes of several users in htop. Code below seems not to work as second --user flag ...
2
votes
0answers
60 views

Why doesn't htop show LED mode meters with box-drawing characters?

I just set up htop on a server running Debian and noticed that meters in LED more are rendered with letters and symbols instead of the box-drawing chars it uses on my Mac. For comparison, htop on ...
0
votes
1answer
676 views

Linux How to htop specific commands

Linux Centos 6,64 I am using following command for displaying htop in the command column htop -u command How do I do for it to show only a specific command which i choose from those running ...
2
votes
2answers
218 views

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 ...
4
votes
3answers
2k views

Messed layout in “htop”

I'm currently using openSUSE Tumbleweed (with KDE Plasma 5, if that matters). I use htop to monitor system resources, and lately I get a messed layout, especially on the topmost area of the screen. ...
0
votes
1answer
296 views

How to configure htop to highlight other user names with gray

Help please figure out how to set htop to highlight other user names with gray like dbus user or chrony on the screenshot: As for me it works somehow randomly: on one terminals it only shows root ...
0
votes
1answer
711 views

How to run htop on remote pc?

I'd like to use SSH to connect to my PCs from my server and then run htop. My old Macs don't have htop though. I got an Ubuntu server as a VM and I'm using it to test this. VM-OS: Lubuntu server 14....
3
votes
0answers
2k views

What does high CPU load in htop for processes with status S mean?

When monitoring my system with htop, the process status column for most processes under load is mostly S and switches to R sometimes. From my understanding of the docs status S means that a process is ...
0
votes
0answers
70 views

Is there a way to monitor email volume from terminal?

Is there a way that I can monitor email activity and volume of sending right from terminal? What I am thinking of is something like htop - but for email activity. My googling has left me empty ...
10
votes
1answer
5k views

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 : http://...
5
votes
0answers
322 views

How to stop htop controlling terminal's mouse?

When you running htop (with Gnome-Terminal + Ubuntu 14.04), and left-clicking a process on the terminal window, htop will move cursor into that process. I prefer to disable it, but I didn't find in ...
2
votes
1answer
2k views

How is this machine at 100% cpu when there is nothing high on the htop list?

I have a machine that is being slow and htop is telling me that the processor is locked at 100% but all the processes under it seem to be running pretty low CPU usage... How is this possible? Shouldn'...
0
votes
2answers
230 views

How do I use top (or equivalent) to determine if a process is behaving badly?

Are there indicators for when a process has "gone over to the dark side"? I feel that just using MEM% and CPU% are poor indicators for detecting things such as memory leaks (or other problems, ...
4
votes
4answers
1k views

Can't delete meters on htop with the delete key

When customizing htop my setup through the F2 menu, I accidentally put up some unwanted meters. I tried using backspace/delete according to the bottom menu, but it didn't affect the entry. I'm using ...
9
votes
2answers
6k views

What do the yellow color of CPU mean in htop? [duplicate]

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?
2
votes
3answers
334 views

Is there a way to copy text in htop on Mac OSX?

I wanted to copy all of the process information related to a specific program/software (Adobe in this case, other ones in the future) and so I tried holding Shift as mentioned here: Is there a way to ...
18
votes
2answers
8k views

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.
3
votes
0answers
550 views

How to view child process sorted by aggregate memory usage?

I'm using top/htop to track memory usage on Linux. I'm seeing a lot of child process consuming a ton of memory, but I'm having trouble finding their parents. How can I see a process tree view sorted ...
8
votes
1answer
895 views

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 recipe tells me that I need to run ...
0
votes
1answer
742 views

Should I trust htop or top when it comes to RES memory?

I am writing a program to test some memory usage metrics on our systems and I want to hit a target memory consumption. You execute my program via meminflate.exe -G 103.1 if you want to take up 103.1 ...
0
votes
1answer
119 views

Why Menu Meter and htop report inconsistent occupied memory and total memory?

On my Macbook Pro running OS X 10.10.3, Menu Meter and htop seem to be reporting inconsistent memory results:
12
votes
3answers
6k views

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?
1
vote
1answer
908 views

Gnome-terminal color inversion

I have some custom colours set up inside gnome-terminal, basically light text on dark background. The problem is, some programs interact badly with the colors. For example, htop uses very light green/...
42
votes
2answers
10k views

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 ...
35
votes
5answers
14k views

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 ...
1
vote
1answer
843 views

How to interpret this htop output?

CPU is pinning on one of our app server (Java) machines. When I run the htop command on the machine and switch to Tree View I see: |- java -Dcom.sun.management.jmxremote -Dfizz=buzz | |- java -Dcom....
0
votes
1answer
1k views

analyzing htop data in ubuntu

i am trying to find bottleneck in my server, specifically in my web application of why things are running super slow. Here is a screenshot of my htop: As far as I can tell mysql here is almost taking ...
15
votes
3answers
5k views

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 ...
17
votes
1answer
7k views

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 ...
1
vote
2answers
793 views

htop status bars in motd

I'd like to put the htop status bars, that show the percentage of CPU usage and memory, in my MOTD, so that every time I log in I see an overview about the systems health status. Any idea how to ...
43
votes
2answers
24k views

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 ...
2
votes
1answer
6k views

About Load average in htop, how to decide if it's still doing ok?

I use 'htop' to monitor my web server. It's recently quite loaded and the Load average is showing something like this: Load average: 3.10 2.56 1.63 I searched the web about these numbers and I ...
2
votes
0answers
2k views

Convert htop output to HTML

I wish to view the output of htop as a web page (and possibly add interactivity later on) and I expected this to be readily available (e.g. ncurses capture-screen-and-convert-to-html), but I had no ...
0
votes
0answers
395 views

LINUX: How to make 'htop' sort? F6 works, but won't let me select anything

I'm using htop in Linux, and I'm trying to set it to sort by Time+ instead of CPU%. So I press "F6" to open the 'sort by' menu, but it won't let me select anything. The arrow keys don't work in the '...
9
votes
1answer
18k views

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/...
1
vote
2answers
3k views

rm -rf extremely slow & slows down server

I did a rm -rf foldername in an attempt to delete a folder containing 10,000s of 25KB files. Question Why is it taking so long (Almost 30 minutes)? Why did the server became extremely slow, even ...
9
votes
1answer
11k views

How do I read htop

I'm having trouble understanding the information displayed by htop the popular replacement for the Linux top command. In the above screen shot, there are many java instances listed, but only the ...
7
votes
3answers
5k views

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 ...
1
vote
1answer
316 views

How does cpu speed stepping effect the cpu usage percentages reported in (for example) htop?

How does cpu speed stepping effect the cpu usage percentages reported in (for example) htop? How about the normal top? So, if my cpu is stepped down to 800mhz with a full speed of 2ghz, does 5% used ...