Questions tagged [htop]

htop is CLI-based command that gives information on processes and memory usage, similar to top.

htop Install htop is not a pre-installed application and we can get it easily in the Software Center (by clicking that link), or by running these commands:

sudo apt-get update
sudo apt-get install htop

htop provides information about running processes and their resource usage in a way that many of its users consider more accessible than top. Novices may be able to use htop more easily than top, and its ease of use make it attractive to a number of more experienced users as well.

In particular, htop lets you scroll up and down, and lets you kill processes without manually specifying their process ID numbers.

See man top and man htop for more information.

90 questions
59
votes
2 answers

Display only processes by a user in htop?

How can I display only the processes of a specified user in htop? Applying a filter (F4) doesn't seem to work, because it doesn't seem to apply the filter on the USER column.
a06e
  • 13,223
  • 26
  • 70
  • 104
39
votes
5 answers

How to save htop output to file?

How can I save the output of htop to a file? With top, I can run top -b -n1 > top.txt where -b specifies batch mode and -n specifies the number of iterations. But the man page of htop doesn't offer such a possibility. Is taking a screenshot the…
DK Bose
  • 42,548
  • 23
  • 127
  • 221
38
votes
4 answers

kill process with htop

Sometimes I need to kill a process and for that purpose I enter htop, search (/) for some string and then intend to kill the associated process. The problem is that usually the processes are in motion (due to new processes being added and attributes…
Raffael
  • 3,771
  • 7
  • 26
  • 39
32
votes
1 answer

how to find a specific process by pid in htop

I try find a specific process by pid, in htop, the search function toggled by F3, seems can't do this. I type in 512, instead of 512 process, the process with pid 710 is highlighted.
attolee
  • 423
32
votes
3 answers

How can I save the view to sort by CPU usage?

Can I somehow modify htop's default view to display processes sorted by CPU usage? I want htop to "remember" my view/sort method. If it's relevant, I'm currently on Xubuntu 13.10.
henry
  • 2,045
25
votes
2 answers

Anchor htop to one specific process?

I have a long list of processes displayed in htop, but I am only interested in one of them. As old processes terminate and new processes are spawned, htop keeps updating the displayed list of processes, which means that the one process I am…
a06e
  • 13,223
  • 26
  • 70
  • 104
6
votes
1 answer

Follow process with htop

I'm using htop to monitor processes, whenever I want to find a running process I the / command which highlights the process until it moves on the list. Is there a way to keep the selected process highlighted?
4
votes
1 answer

Remove htop grey filler

I recently started to notice grey "filler" in some of my servers when viewing htop as shown in the image below. Does anybody know how to get rid fo this and go back to "normal" like below:
Programster
  • 5,871
2
votes
1 answer

How to monitor system resource usage without showing process list

I want to monitor system resources usage, the htop works very well, but I don't care processes now, is it possible to hide process list parts? Or, is there any other tool can do that?
beng in
  • 23
2
votes
0 answers

fcitx consume 93.4% cpu

I check processes with htop and find the input method manager/fcitx consumes 93.4% cpu, What's might be the problem? Is it a single cpu or all the cpu?
Wizard
  • 2,891
1
vote
1 answer

Why does htop display nothing?

My Ubuntu htop command does not display anything, like this: Is there any problem with this command? Thanks a lot!
sperfu
  • 11
0
votes
1 answer

Killing A Process Using Htop Question

I'm a college student and some sites are blocked here so I use a VPN to fix that problem. So my question is: I have to run the command as root to connect to the VPN and when I'm done just closing the terminal will not kill the process (disconnect me…
Jooge
  • 21
0
votes
0 answers

Full CPU usage but no command in htop

Ubuntu server is running at 100% cpu when booting. Htop is not showing any process above 2-3% usage. Is there any way to investigate which processes using the cpu? Htop usage in terminal