3
votes
2answers
115 views

Understanding %CPU while running top command [duplicate]

I am trying to understand what does %CPU means when I run top. I am seeing %CPU for my application as 400 or 500 most of the times. Does anyone knows what does this mean? What number is a high ...
1
vote
2answers
32 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 ...
3
votes
2answers
48 views

CPU percentage of a single process

How do I get the average CPU percentage (for every second) consumed by a single process since it starts until it ends (exists)? Could I make this with Top?
3
votes
2answers
57 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 ...
0
votes
1answer
66 views

Why my cpu spend so much time on system? [closed]

top - 08:58:42 up 20 days, 8:23, 1 user, load average: 67.17, 58.94, 62.75 Tasks: 630 total, 40 running, 524 sleeping, 0 stopped, 66 zombie Cpu(s): 57.3%us, 41.6%sy, 0.0%ni, 0.0%id, 0.0%wa, ...
1
vote
2answers
138 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 ...
5
votes
1answer
176 views

How to monitor top applications using CPU (and IO if possible) in a graph?

I need to find what and when these applications used so much CPU (and IO if possible too). This should be in a graphic timeline like we see in GNOME System Monitor CPU History. I also want to compare ...
0
votes
2answers
3k views

Top “id” is using 50-99% of CPU

My i386 Lubuntu install is running with a constantly 100% CPU. Using top I have diagnosed "%id" as using up a lot of CPU, usually between about 50% and 99%. Why is this happening, and how can I stop ...
5
votes
3answers
325 views

Determining the particular processor on which a process is running

I have access to an 8-core node of a Linux cluster. When logged in to the node, I can see a list of processors using this command: more /proc/cpuinfo In my 8-core node, the processors are numbered ...
0
votes
0answers
85 views

Prevent Java to escalate CPU usage on Slackware64?

I use Slackware64-current on my work laptop and though I love running Slackware, sometimes it hangs on me near to the point of starting considering falling back to Windows. I develop on Java and use ...
7
votes
2answers
9k views

Top and ps not showing the same cpu result

This is linked to this question. When I run top I get the following result: pid 3038 is using 18% cpu, however when running the result is 5.5%. And this number does not appear to be changing ...
2
votes
2answers
1k views

Find the PID of top CPU/MEM usage, save to a shell variable

Is there any way to get the PID of the top CPU/MEM usage, I need to use that in a script, top command doesn't seem to work for it.
2
votes
1answer
2k views

CPU and core usage stats

I'm running some programs on a server and I would like to know how much % cpu I'm taking up and how many cores are being utilised by my process. To clarify, the server has 16 CPUs, all quad-core. I ...
4
votes
2answers
613 views

How can we use the command 'top‘ to monitor the total CPU usage and each processor usage simultaneously?

You know that we can use the command top to monitor the real-time CPU usage and toggle the result display to the per-processor view by pressing key 1. The disadvantage of it is you can only monitor ...
1
vote
4answers
1k views

How to find which machines are idle on a cluster of many nodes

I run measurements on a cluster consisting of 32 nodes/machines. I do not require all nodes, only 4, for example. The problem is most of the time, the nodes are busy with other people running their ...
3
votes
3answers
437 views

How can I keep track of what's using the most CPU?

I use nagios to monitor my server. Once in a while I'll get a report that the CPU load is warning / critical, etc. Usually this happens at some odd hour or when I don't have the tools to immediately ...
4
votes
1answer
3k views

Why does top report the incorrect CPU usage?

I have a machine with Intel(R) Xeon(R) CPU E5520 visible as 16 logical cores (8 with HT). If I run something to eat CPU time (single threaded) top correctly reports 100% CPU usage for the process but ...
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 ...
44
votes
1answer
50k views

In Linux “top” command what are us, sy, ni, id, wa, hi, si and st (for CPU usage)?

When I issue $ top in linux, I get a result similar to this (see here). One of the lines has CPU usage information represented like this: Cpu(s): 87.3%us, 1.2%sy, 0.0%ni, 27.6%id, 0.0%wa, ...
3
votes
1answer
1k views

Why Process CPU % Usage larger than Total CPU Time

When I run the TOP command, a process shows 1208% cpu usage and the total CPU usr time is 81.7% with IRIX mode on. When I change to IRIX mode off, the process shows 99% cpu usage and the total user ...
1
vote
1answer
371 views

Queries about top command

top command shows the process cpu utilization, and it when we sum the cpu utilization of all the processes then it goes greater than 100%. And how can it shows the cpu utilization of each process( ...
7
votes
3answers
3k views

Understanding top and load average

I'm observing a high load average on a certain machine (about 9) in all three load fields. I understand load as the number of processes in state "run" / currently desiring CPU time. Am I correct at ...