The tag has no wiki summary.

learn more… | top users | synonyms

16
votes
1answer
2k views

Meaning of colours in htop

Given the option: [ ] Detailed CPU time (System/IO-Wait/Hard-IRQ/Soft-IRQ/Steal/Guest) In htop (Version 1.0.1) what are the meanings of the colours? In the following image, I'm seeing rather a lot ...
10
votes
3answers
3k views

How can I receive top-like CPU statistics from the shell?

I'm trying to get an accurate read of my used CPU (in percent) from top. This is the command I'm running for testing: top -n1 | awk '/Cpu\(s\):/ {print $2}' This returns: 10.7%us, Which is the ...
9
votes
5answers
1k views

Laptop running ~30° hotter than normal; CPU/Load is reportedly normal. What could cause this and how can I diagnose it?

I'm running the latest Arch Linux on my ThinkPad t420 laptop, and am having an intermittent heat problem where my temp will rise from the typical ~45°C to ~75-90°C, and stay there until I reboot. ...
5
votes
3answers
999 views

why does htop meter show >90% while table is 0.0%?

Why do the progress meters across the top of the screen in htop show CPU usage consistently above >90% while the numbers in the table below show a nearly idle system with CPU usage and load average at ...
5
votes
1answer
1k views

top / htop; group process by command

I'd like to know how much resource a specific command is using. top and htop displays information on per process basis but I'd like the information to be shown on per command basis. E.g. I'd like to ...
3
votes
2answers
3k views

How do I install htop inside mac os x

How do I install htop for Mac OS X? (The easiest and laziest path)
3
votes
2answers
45 views

What does it mean exactly when a processes “Time” has stopped in top?

I'll be looking into why we're getting critical swap alerts, and I'll find something like: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP COMMAND 14683 user1 30 10 16.0g 772m ...
3
votes
1answer
45 views

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

What is using memory? [closed]

According to htop and free, the machine I'm looking at is currently at 6631 / 11907 MB of RAM. That's more or less half of the RAM available. However when I sort top or htop by MEM%, the most memory ...
2
votes
3answers
3k views

Killing a tree of processes in top/htop

htop allows me to nicely see trees of processes within the shell. I can kill processes by pressing F9 (KILL) and then selecting which signal (e.g. 15 SIGTERM) I want to send to a job to kill. ...
2
votes
1answer
285 views

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

Graphical console applications in Emacs

I am having trouble running htop within an ansi-term in Emacs 24.2. It looks like some of the control characters are not interpreted correctly. I thought ansi-term was capable of handling font ...
1
vote
2answers
205 views

Swap bash script pins htop's memory usage

I deployed a hack to add swap space to a VPS that otherwise didn't allow me to use swapon to create a file. Prior to adding and executing the script, I followed the steps outlined here. and ...
1
vote
2answers
134 views

Should I care for applications that increase the system Load in order to prevent overheating?

I found that my "PCI Adapter" overheats when load is above 4.0 (having 4 cores). It does NOT overheat when the load is below 4.0 (but I had an overclocked memory that was causing trouble as I explain ...
1
vote
1answer
257 views

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

htop reporting much higher memory usage than free or top

The following three outputs were taken essentially simultaneously: top: top - 02:54:36 up 2 days, 13:50, 3 users, load average: 0.05, 0.05, 0.09 Tasks: 181 total, 1 running, 179 sleeping, 0 ...
1
vote
1answer
121 views

htop gives blank screen

Previously I was using htop on 32-bit Manjaro, and it worked fine, then I switched to 64-bit ArchLinux, when starting htop it shows a blank screen, and any key press does nothing. I've tried to add ...
1
vote
2answers
26 views

What does % utilization mean in htop if only 1 process can execute at a time?

I see that the htop command reports respective the % of utilisation of each CPU core and also that of the processes. We know that only 1 process can execute at a time in the CPU. How is it possible ...
1
vote
1answer
171 views

How to get more information about Java processes from atop?

I have several java apps running on a machine and atop only tells me CMD java is there a way to get more information about that process, as I have +20 java in the list and I don´t know which one is ...
1
vote
1answer
65 views

Virtual Memory Usage Exceeding Physical Drive Space

I have a machine running Ubuntu on Amazon EC2. The machine has a 43 Gb root drive and 30 Gb of RAM. I am running a processor and memory intensive process and I've noticed that it sometimes stalls for ...
1
vote
0answers
36 views

How can I hide a command line from (e.g.) top & htop? [duplicate]

I know that both support specifying the username, which can be forced using an alias in root-owned ~/.bashrc, but one can temporarily disable the alias by prepending the command with \, so what are ...
1
vote
0answers
52 views

htop: Using Ctrl + n & Ctrl + p to move between processes

I'm running the latest version of htop through Homebrew on the latest OSX. htop seems to work well on my terminal (either Terminal or iTerm), but: I'm unable to use Ctrl+n and Ctrl+p to move up and ...
1
vote
0answers
480 views

How can a single thread use 200% CPU usage?

From the screenshot above of htop output you can see that mysql is apparently using 204% of CPU usage (this is a CentOS server with dual quad-core Intel Xeons). However only one core (8) is doing ...
0
votes
1answer
89 views

How to reduce chrome's virtual memory usage?

I am running a Debian Jessie and having memory issues when using Google Chrome I tried disabling extensions, disabling cache, flushing the cache, and disabling the web 3d rendering, but nothing ...
0
votes
1answer
69 views

Display numbers in meters of htop

My server is running on debian Wheezy and htop 1.0.1 but it does not display any values on the meters bar except the 100.0% value of CPUs. Is it possible to show always the values of a meter? This ...
0
votes
1answer
24 views

HTOP nice level mismatch with the nice command?

I executed some commands with nice -20 but in htop the NI appears in red and as 19, why is this?
0
votes
1answer
104 views

How can I look at recent system activity to figure out what caused a huge slowdown? [closed]

I'm running CrunchBang Waldorf with OpenBox on a Lenovo e420. I made the switch from Windows a few months ago, and have had no problems with performance since then. Everything runs nice & fast. ...