Questions tagged [top]

Command-line application for monitoring running processes.

The top program provides a dynamic real-time view of a running system. It can display system summary information as well as a list of processes or threads currently being managed by the Linux kernel.

160 questions
195
votes
1 answer

What do VIRT, RES and SHR mean in the top command?

I've been learning about the top command. There are some terms on which I am confused. I need some clarification. What are the WA, HI, SI and ST terms in the CPU(s) row, and also VIRT, RES and SHR?
Ankit
  • 6,989
62
votes
2 answers

What are the rcuos/rcuob processes I'm seeing in top?

I ran top, and I see lots of rcuos/rcuob processes. Here's a sample of top output: top - 21:41:15 up 22 days, 19:20, 1 user, load average: 0.00, 0.01, 0.05 Tasks: 332 total, 1 running, 331 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, …
sonicboom
  • 1,183
53
votes
2 answers

What is "cached" in the top command?

When running top, I get: top - 09:10:52 up 18:37, 1 user, load average: 1.56, 1.33, 1.15 Tasks: 39 total, 1 running, 38 sleeping, 0 stopped, 0 zombie Cpu(s): 0.1%us, 0.6%sy, 1.0%ni, 92.5%id, 5.8%wa, 0.0%hi, 0.0%si, 0.0%st Mem: …
KKK
  • 633
  • 1
  • 5
  • 6
37
votes
1 answer

htop showing duplicate applications with very odd bizarre results upwards of 20,30,40 or more, see screen grab

I have attached screen shots of htop and it's bizarre results. Can anyone explain what is happening here? It shows this new copy.com app taking up like 500% of my memory if you count it up.
wardr
  • 2,429
32
votes
5 answers

How do I quit top without leaving the output on the terminal?

How do I get top to quit similarly to the way less quits, that is, not leaving behind its output on the screen? This is the version I have: procps-ng version 3.3.9
Arraval
  • 422
31
votes
2 answers

How to run ''top'' command 1 time and exit?

Is there any switch to tell top command in order to one time scan the system and do not monitor it all time?
23
votes
2 answers

top (table of processes) package on Ubuntu 16.04 LTS

When I run sudo apt install top, I get E: Unable to locate package top I searched packages.ubuntu.com for top package on 32 bit Ubuntu 16.04 LTS, but there is none. I wonder if it's correct or I'm missing something.
Megidd
  • 765
23
votes
2 answers

Why don't the %MEM values in top add up to the total used memory?

I'm currently debugging performance issues with my VPS and for that I'm trying to understand which of the processes eat the most memory. Reading top, here's what I get: Mem: 366544k total, 321396k used, 45148k free, 380k buffers Swap: …
ben
  • 341
21
votes
1 answer

Why doesn't htop display the same processes as top?

I have a home server sometimes running at a high CPU usage rate of about 50 to 70 percents. In htop, my favorite process manager, I can sort the processes by CPU usage, but often there isn't any process consuming more than 0 % CPU. On the other…
20
votes
2 answers

Why are some processes highlighted in top?

Why are some processes highlighted in top? Does highlight have special meaning? Thanks!
Tim
  • 26,107
20
votes
5 answers

Find children of the process

is there any way to know, who are children of the specific process ? for example those children which their parent ID is foo ?
19
votes
1 answer

How to force 'top' to show human readable values for %MEM RES and VIRT

How can I configure 'top' to show all values in human readable format instead of long numerics. I am using Ubuntu 14.04. Sample output I am getting at the moment: top - 11:39:56 up 14:46, 11 users, load average: 1.14, 1.61, 1.35 Tasks: 248 total, …
kn_pavan
  • 1,091
16
votes
4 answers

add apps to top panel in ubuntu 12.04

Is there any way to add any app I wish to the top panel in Ubuntu 12.04? e.g, I have dropbox, mail, wireless and sound icons there. I'd like to add for example terminal, google earth or any app there. Also, what's the shortcut for the task manager,…
14
votes
6 answers

Getting cpu usage realtime

When I execute following command to get cpu usage , I get nice + user cpu usage. top -b -n1 | grep "Cpu(s)" | awk '{print $2 + $4}' Output: 14.5 Here I am getting problem is that the output depends on top command thus it doesn't change instantly…
KK Patel
  • 19,753
14
votes
1 answer

GNOME system monitor and top showing different CPU usage

When I play a movie with SMPlayer (video:mpv) and I check my CPU usage with GNOME system monitor, it shows %4 or %5 CPU usage (1 second update interval), but htop shows %45 CPU usage: top shows the same load as htop: Since My CPU fan RPM goes…
ICE
  • 2,075
1
2 3
10 11