Top is a UNIX program that shows system usage in real time.
Questions tagged [top]
175 questions
104
votes
18 answers
Linux "Top" command for Windows Powershell?
I am looking for a PowerShell cmdlet that can provide similar functionality to the Linux Top app. Something that refreshes at some given interval and displays the process list with CPU % util.
I have seen scripts that list CPU % utilization in a…
TimAtVenturality
92
votes
4 answers
Why is the CPU usage reported by top in Linux over 100%?
I've seen the CPU usage go over 100%. How is this possible? Is it because I have four CPU cores, so 100% isn't really the max?
Also, when a program does this, what else can I do in top besides using the k command?
tony_sid
- 14,957
71
votes
3 answers
Linux: Is there something similar to "top" for I/O?
My disk often is utilized, but top (and htop, a custom replacement) show nothing suspicious.
Is there a way to sort processes by I/O (more specific: disk) utilization?
EDIT
Found out using iotop that those strange processes are flush-8:16 and…
java.is.for.desktop
- 1,858
56
votes
2 answers
Understanding top command in unix
When I run top -c command on my UNIX box I get the output below:
top - 03:09:34 up 5 days, 6:14, 1 user, load average: 0.00, 0.00, 0.00
Tasks: 175 total, 1 running, 174 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.2%us, 0.0%sy, 1.0%ni,…
Learner
- 675
- 1
- 6
- 5
55
votes
1 answer
Why is the "top" command showing a CPU usage of 799%?
I am running a process in a 4 core Ubuntu server. However, the top command shows that the CPU usage is 799% all the time.
How can this be possible? I know for multi-core CPUs, more than 100% CPU usage is expected, but 799% is a really high…
Arpssss
- 901
52
votes
5 answers
iotop complains "CONFIG_TASK_DELAY_ACCT not enabled in kernel" only for specific process
I'm trying to use iotop to determine whether the CPUs are waiting on I/O at any point for a specific program called bwa (it's a next-generation sequence alignment program). If I start iotop without specifying a specific process (-p pid), I get all…
Mark Ebbert
- 681
45
votes
2 answers
How to get `top` for a specific user only?
How can I read top in bash only for one user? I don't want it to display data for other users.
detraveller
- 985
41
votes
1 answer
Is there `top` for disk usage
How to track disk usage (write/read and other cool stuff) in realtime with fashion of top in the only right system in shell?
It would be cool if it could monitor specific directory.
Szymon Toda
- 1,659
39
votes
3 answers
What does TIME+ (cpu time, hundredth) in top mean?
See the example below. Automount is showing 3019:57 in the TIME+ column.
Tasks: 241 total, 1 running, 240 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.7%us, 0.7%sy, 0.0%ni, 98.5%id, 0.0%wa, 0.1%hi, 0.0%si, 0.0%st
Mem: 16435884k total,…
June Bug
- 391
38
votes
2 answers
Why does the memory usage in "top" not add up?
I have noticed that sometimes when I run top, the memory usage of each process in the process table does not seem to add up to the total.
For example, in the dump below, top says that I am using 16 Gb of memory. However, the process table only shows…
del
- 542
34
votes
1 answer
Full list of top-like tool family for perfomance monitoring in linux: iftop iotop htop atop more?
Top-like utilities are extremely handful in my work and I want to make sure I am not missing any of them. Please extend the following list of performance monitoring (top-like) family of linux tools:
top - original tool
htop - adds support to…
26
votes
6 answers
top command in cygwin?
I am starting to use Cygwin(64) on my Windows 8 laptop, however, the top command is not recognized. I have read online that I need to get the procps package, but it is not available on the 'Cygwin Setup' package selections. How should I go about…
drjrm3
- 1,556
23
votes
4 answers
Sorted tree view in htop or alternative?
I am running a Debian flavor of Linux, and I use htop to keep track of memory usage, since it is more detailed than top. I can't seem to get it to sort by memory and display process trees at the same time. Is there a way to do this with htop or an…
bright-star
- 1,619
17
votes
4 answers
What is the colorized version of the Linux "top" program?
I didn't know "top" had a nicer colorized version like this. What is the command? Does anyone recognize this?
user35997
- 554
17
votes
4 answers
Is it possible to 'hide' a process from the listing of `ps` or `top` on Linux
First, I presume that if this is possible it would need to be done as root (or as a user who shares root's UID of 0).
How can a process be launched so that it does not show up in a ps aux or ps ef or top listing if the command is run by non-root?
Is…
warren
- 10,322