Questions tagged [htop]

159 questions
126
votes
3 answers

What does the (!) mean after uptime on htop

I was analyzing some web heads looking at htop and noticed the following Uptime: 301 days(!), 23:47:39 What does the (!) mean?
43
votes
4 answers

How to configure htop to display the complete command line?

It there a way to display the complete command line in htop (e.g. in multiple lines or with a moving banner). With the default setting where only one line is displayed it isn't possible to distungish all processes, e.g. different java programs…
20
votes
3 answers

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 GNU GPL. Layout 2 htop --version htop 2.0.2 -…
16
votes
4 answers

How to display only a process and its descendant processes on htop?

I want to monitor only a process and its children processes on htop. Filtering on the name of the parent process lists only the parent process, not its children. How do I show the children processes too?
a06e
  • 1,727
7
votes
1 answer

What is this color bar for in htop page

I have a 48-CPU UBUNTU and it has loaded with lots of processes. Here is the htop page, At core section, the green bar means the usage from normal user, the red one represents the kernel usage, but what is the 3rd color stands for ? Thanks. Here is…
6
votes
1 answer

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. Does anyone know how to show next and previous…
JacobIRR
  • 183
5
votes
1 answer

Change the scale of the bar graph in htop

Does anyone know of a way to change the scale of the bar graphs in htop? The memory one, specifically, doesn't seem based off of percent of memory used--it's some other scale that seems useless to me. It looks like…
wulftone
  • 355
5
votes
1 answer

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?
William
  • 604
3
votes
1 answer

htop: show processes of all users except root

I am aware of the -u option in htop, where I can show only processes of a given user, such as: htop -u root I am wondering whether there is a way to show processes of all user except root.
Martin Vegter
  • 358
  • 75
  • 236
  • 411
3
votes
1 answer

How to switch htop tab?

I recently see that there is new "I/O" (blue one) on htop, how to switch to that tab?
Kokizzu
  • 9,699
3
votes
1 answer

Making htop summaries respect --pid

I'm running this: $ htop --pid=3907,3940,3941,3947 and would like to make the CPU/Memory at the top only count those PIDs. Is this possible? Other questions Also, are there flags for: enter 'tree' mode on startup, or change columns displayed?…
Hamy
  • 275
2
votes
2 answers

how to make the htop wrap command line

Now I am using htop to show the process of my server, but I face a problem that when the command is very long, I just see part of the command and I did not know the full information of the process, is it possible to make the htop show full of the…
Dolphin
  • 609
2
votes
1 answer

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.
Alex
  • 155
1
vote
0 answers

Can I reset htop settings to defaults *within htop*

I change htop settings by accident from time to time, and sometimes I don't know what I've changed. It's really easy when just about every key changes a setting. Is there any way to reset the settings to defaults within htop, ie without having to…
trr
  • 418
  • 2
  • 13
1
vote
1 answer

Minimize htop thread window?

I'm on a system with 48 threads and the view for usage is taking up 4/5 of the vertical screen space. Is there a way to toggle the CPU usage window to just view the active PIDs?
BitShift
  • 131
  • 1
  • 12
1
2