Questions tagged [top]

Top is a UNIX program that shows system usage in real time.

171 questions
95
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
81
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,001
  • 51
  • 139
  • 194
68
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,718
  • 3
  • 18
  • 20
53
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
  • 851
  • 2
  • 7
  • 14
51
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,…
user2065083
  • 623
  • 1
  • 6
  • 5
40
votes
1 answer

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
  • 935
  • 2
  • 9
  • 14
40
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,619
  • 5
  • 19
  • 28
36
votes
3 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
  • 521
  • 1
  • 5
  • 11
36
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
  • 522
  • 2
  • 5
  • 11
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…
Yauhen Yakimovich
  • 477
  • 2
  • 5
  • 8
33
votes
2 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
  • 331
  • 1
  • 3
  • 3
25
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,476
  • 6
  • 26
  • 44
20
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,569
  • 2
  • 14
  • 28
16
votes
3 answers

Is there a way to show windows processes in Cygwin constantly

I would like to monitor processes from a cygwin shell, using top or a variant. The reason for this is its realtime reporting and constant updates. However under cygwin, top will not report on windows processes. Teh forums I have been to recommend…
Husman
  • 273
  • 1
  • 3
  • 7
16
votes
3 answers

cpu load measure with hyperthreading on linux

How can I get the true usage of a multicore hyperthreading enabled cpu? For example lets consider a 2 core CPU, expressing 4 virtual cores. A single threaded workload would now show up as 100% in top, as one core of the virtual cores is completely…
dronus
  • 1,870
  • 4
  • 24
  • 42
1
2 3
11 12