Stack Exchange Network

Stack Exchange network consists of 175 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]

The tag has no usage guidance.

0
votes
0answers
15 views

No locks available

I am using ssh logging on a remote server and ran a parallel computing application. I use htop to monitor the CPU usage. But after running a long time, htop exit and shows: htop: too may open files ...
2
votes
0answers
43 views

Using killall with -u and -o options

I wanted to confirm some details with the killall -o option. I tested it on some ssh connections I created under the user rick. First I printed a list of all of ricks ssh connections along with the ...
0
votes
1answer
31 views

In the command column of htop, sometimes the full path is displayed, and sometimes it isn't. Why?

Above is htop running in a terminal emulator. In the command column, some of the processes have their full path, eg. /usr/bin/python3, and some of them have just the command name, eg. caja, xonsh. ...
1
vote
1answer
35 views

Htop signals seem not to be sent on (K)Ubuntu 18.04

I am on Ubuntu 18.04 (Kubuntu), running through Konsole. I have a node process I can see in htop if I F4 and search for node. I highlight it and use F9 to send it a signal (tried SIGINT, SIGQUIT, ...
1
vote
0answers
112 views

htop / top with specifying process name filter on the command line - at program startup?

I'm on Ubuntu 18.04. I'm already aware that I can start htop, and then hit F4 for filter, then type or paste a process name search query (say, gphoto2 for looking for gvfs-gphoto2-volume-monitor....
1
vote
1answer
29 views

Distribution of threads among CPUs?

lscpu gives: Thread(s) per core: 2 Core(s) per socket: 32 When running an intensive 32-threads process, why does htop show almost 100% CPU activity on #1-32, but very little activity on #33-64? ...
1
vote
1answer
58 views

What is pool in htop? [closed]

What is DedicatedWorker and pool? How can I see their thread and source in bash for instance if I want to know where pool is getting initiated and on which port it is running? As shown in the image, ...
0
votes
1answer
113 views

htop - why does cpu% much higher than cpu core %?

So I have htop running on my RHEL 7.5 64-bit and noticed something I've not seen before. I have 4-core and it shows that the % used fluctuates but never over 95% for each one. However, when I look ...
0
votes
1answer
127 views

htop and crontab

I have a crontab like this for root user: 9 17 * * * TERM=xterm /bin/bash /root/htop_stat.sh htop_stat.sh: /usr/bin/echo q | /usr/bin/htop -C | /usr/bin/aha --line-fix | /usr/bin/html2text -width ...
1
vote
1answer
91 views

Aggregate usage stats by user

I'd like to look at the aggregated usage information at a user level. Basically hoping for a tool similar to htop but with the option to sum up all the processes for a user, for every user.
0
votes
1answer
36 views

How to record PID and its command every 15s?

For troubleshooting purpose, I'd like to record PID and its command every 15s and write them to a text file. The desired output: TimeStamp, PID, Command
3
votes
1answer
483 views

ps -a fails to find a process which is running

I could find a process named typora from htop but I cannot trace it from ps or pstree $ ps -a | grep -i typora 9696 ttys003 0:00.01 grep -i typora $ pstree | grep -i typora | |--- 09713 ...
3
votes
1answer
385 views

Top showing virtual memory usage of hundreds of gigabytes

On a new virtual machine, top shows that a process of mine consumes 100 GB of virtual memory. I've read that it's possible because of overcommit, however, it's a bit too much. I've never seen anything ...
1
vote
1answer
121 views

htop - See/Filter all the instances of a binary

I have a binary that I will be running multiple times in parallel, each instance executed with different input from the command line. I wanted htop to list only these processes so that I can compare ...
0
votes
0answers
54 views

htop interpetation of multiple entries per process

In the following htop snapshot, what is the meaning of multiple entries of the same process (in terms of command line, not pid) e.g. what is the meaning of having say more than 7-8 firefox entries ...
1
vote
1answer
73 views

Running Script via Crontab With Different Result?

I have the following script: #!/bin/bash /usr/bin/echo q | /usr/bin/htop -C | /usr/bin/aha --line-fix | /usr/bin/html2text -width 999 | /usr/bin/grep -v "F1Help\|xml version=" > htop.txt It just ...
0
votes
0answers
44 views

>100% CPU usage of a process in htop, then lots (>nthreads) of little processes using CPU% amounting to main process

I'm running tensorflow through R Studio. It's multithreaded in some way that I didn't program through one of R's forking packages like foreach, so I don't really understand how it works. The main ...
2
votes
1answer
45 views

Looking at htop, I see a process associated with a tab in firefox that isn't open. What gives?

Earlier today I was ordering a yard sign for a local politician, via their website, through Firefox. Just now I was doing some work in R, and checking htop to make sure I wasn't going to make my ...
0
votes
1answer
232 views

htop summary only display

Is there a way to run htop but display only the graphs (I don't want to see the individual processes)? I saw this question which seems to suggest no - I'm wondering if that has changed.
2
votes
1answer
287 views

Htop sorting CPU% column incorrectly

Sometimes when I'm trying to diagnose what process is hogging all of my laptop's resources, I notice that htop will sort the CPU% column incorrectly. Example below: The “CPU%” column is highlighted ...
1
vote
0answers
60 views

What is “!!” command shown in top result

I run two drupal 8 websites on an amazon ec2 instance. They are portfolio sites. below is server details. [ec2-user@ip-xx-0-0-xx ~]$ uname -a Linux ip-xx-0-0-xx 4.4.15-25.57.amzn1.x86_64 #1 SMP Wed ...
2
votes
0answers
21 views

How to check a process is running in which core? [duplicate]

I have a very computationally intensive job(single threaded) running in my system, and htop is showing one of the core is ~100% utilized. Obviously, the job is scheduled to this core. But, I am ...
0
votes
0answers
88 views

Why does htop start so quickly?

I tried to read info about processes from /proc/ just like htop and top do. It seems like the value for "CPU%" in htop or top is calculated by summing up the values utime and stime in the stat file ...
1
vote
0answers
390 views

Interpreting memory usage in htop

Trying to diagnose a memory issue using htop. As can be seen on the Mem-bar at the top, 9.05 out of 9.5 GB is used. Question 1: How do I determine what's eating up all my memory? The output from ...
1
vote
0answers
115 views

htop: any way to see a sorted tree view from a sub level?

When using htop, I generally find that viewing process sorted by RES makes most sense when looking for performance and other issues in macOS. One problem I have is that Google Chrome (and other ...
4
votes
1answer
463 views

Why does htop shoot to 100% CPU upon opening?

Whenever I open htop, it shows CPU usage suddenly shooting up to 100% on a singe core. I take it gathering statistics for htop is not that intensive?! Why does htop suddenly show this spike?
0
votes
1answer
296 views

How to only show processes from single program in htop. Filter not working for VS code

I'm trying to filter the view in htop to only show the processes associated with Visual Studio Code. I launch VS code on a default install on Ubuntu with code . so that is the filter i'm using. In the ...
5
votes
1answer
2k views

Lots of red in htop — does that mean my tasks are tripping over each other?

I've read that the color red indicates "kernel processes." Does that mean little daemons that are regulating which task gets to use the CPU? And by extension, transaction costs in an oversubscribed ...
2
votes
1answer
902 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
0answers
308 views

How to programmatically change background color in htop

Is there anyway to programmatically change the background color in htop? When system load reaches a certain threshold, I'd like to change the color from the default black to, say, orange or red, to ...
5
votes
2answers
1k views

How to change the layout of the CPU meters in the htop?

Why does the same version of htop have so different layout of the CPU meters? How to switch between the layouts? Layout 1 htop --version htop 2.0.2 - (C) 2004-2018 Hisham Muhammad Released under the ...
0
votes
1answer
387 views

`ps` showing much higher ram usage than `htop`

I usually monitor my server resource usage. I am using htop for monitoring. When running htop the memory usage is 1.3G, which is fine for me. But I tried to view the memory used by each process. For ...
0
votes
2answers
133 views

Overlaying text onto of htop output

How do you filter the output of a constantly updating bash command so that text is overlayed on top of the output? I'm using tmux to show multiple htop processes across numerous servers. ...
1
vote
1answer
50 views

When running multicore jobs, will I lose performance if system load averages above the number of cores?

I do a lot of statistical analysis with R, and heavily utilize large multicore instances on AWS. Mostly for hyperparameter searches, cross-validation, and bootstrapping. Say I have an instance ...
0
votes
1answer
209 views

most information of htop output disappears

I got this problem since this morning, htop gives following outputs: Most information disappears, does anyone know what I did wrong for this? Thanks! Edit: Here are a few things I tried: remove &...
1
vote
0answers
317 views

htop shows different number of processes for Chromium browser on Linux vs FreeBSD

htop output on a Linux machine shows lots of processes for Chromium browser while it only shows few processes for Chromium on FreeBSD. Why is there any difference? Linux: FreeBSD: Also, my ...
2
votes
0answers
118 views

How can I tell if my GPU is a bottleneck?

I already know of utilities like htop that can be used to (roughly) tell if a process is primarily bottlenecking at disk read/write speeds, network IO, not being parallel, or being parallel but ...
1
vote
0answers
786 views

Kill running process

I own some old processes on a shared compute server. They consume a lot of CPU and according to htop they're in the running-state: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ ...
0
votes
1answer
215 views

How does one “nice” a PID via htop after the process has begun?

Let's say I'm running a multicore process. How do I "nice" this via htop after submission?
0
votes
2answers
930 views

How do I know when a process has been killed

The following code starts a lenghty nmap process and then the main program tries to kill it. I am running it from shell and also have GTOP running in another window just to see if all is successfull. ...
4
votes
1answer
593 views

How to cycle through htop search results

In htop I can use / to search for terms, and typically when searching in tools like less and vi, I can use n or N to show the various instances of results that I find, but this doesn't work in htop. ...
2
votes
1answer
2k views

htop - change units for memory usage display

How to display meminfo in megabytes in top? discusses how to change the units of memory (e.g. megabytes, gigabytes, etc.) when using top. Is there a way to do this in htop as well? man htop doesn't ...
3
votes
2answers
1k views

How can htop be used to suspend a process and all its child processes?

I use recoll to index files and it kicks in a inopportune times. When I use htop to change the view to a tree view using F5 and filter the process list I see a master process running and child ...
2
votes
0answers
188 views

htop crashing to blank screen [duplicate]

I'm trying to run htop on Ubuntu 16.04.1 LTS. Until the end of last week the command was working fine, and I haven't made any major changes to the system since then. Now, when I attempt to run htop, ...
2
votes
0answers
139 views

Can I see finger's user name in htop?

top/htop show userids. On our shared HPC, these are cryptic. I then need to manually do finger <username> to figure out who the user is. Is there a way of getting top or htop to include this ...
1
vote
1answer
1k views

htop does not show a process

When using top, it shows me that cifsd has used lots of CPU time but in htop the process does not show up at all. I have tried enabling threads (with H) in htop, to no avail. It also does not show up ...
3
votes
1answer
786 views

what causes htop processes with no name?

what causes processes with no name in htop? this is a fully up to date debian 8.6 system, running htop 1.0.3 as root, amd64. and unix.stackexchange.com seems to shrink the image to an unreadable ...
3
votes
1answer
89 views

What are the meanings of IO-related rates? [closed]

I found in the manual short explanations for the abbreviations. But I have no idea about what their values stand for (how large is good, how large is bad). How do I know if the IO is too busy and ...
1
vote
3answers
3k views

Show running processes without the system processes

what is the command to show the running processes by the current user? I want to see stuff only I have launched from the command line or via the desktop, without all the desktop stuff and system ...
9
votes
1answer
2k views

Is it possible to freeze task order in htop?

In htop I would like to order processes by CPU utilization but the top processes bounce back and forth so it is difficult to view the details of each process. I would like to be able to sort in ...