Questions tagged [cpu-usage]

The amount of processing units of the CPU used to execute a task and how long it takes.

685 questions
2
votes
1 answer

Why might 'mpstat' and 'pidstat' disagree about CPU load levels?

I'm monitoring a mysql process in ubuntu 12.04 using mpstat and pidstat, simultaneously. While debugging its CPU usage, I noticed something unusual. While both tools agree that CPU load is occurring, they disagree about what kind of load it is.…
Christopher
  • 468
  • 3
  • 11
2
votes
1 answer

CPU frequency governor for virtualized guest in VMware

CPU frequency governor can scale the CPU frequency up or down in order to save resources. In a physical server usually have sense, but I don't know if this is applicable for a virtual guest running under VMware. Does make sense in a custom kernel…
rfmoz
  • 772
  • 9
  • 15
2
votes
4 answers

10 min. bursts of CPU usage: how can I find out which processes are the cause?

The CPU usage graph above was generated by running psensor overnight on my linux box. Note the 10 minute bursts of activity consuming up to 40% of the Xeon. The machine ought to have been at idle overnight except for possibly administrative…
mike
  • 23
  • 4
2
votes
0 answers

Can I limit wall clock time available for process on Solaris?

I would like (many) processes to be killed if still running after certain amount of time after execution. First I have thought that Solaris’ resource management is perfect tool for the job, as it seems to be natural for enforcing limits on groups of…
2
votes
3 answers

cause for high Interrupts and context switches

I have a quad core and I have spotted on munin (monitoring interrupts and context switches), that my interrupts and context switches spiked to 25k a second while the average was 250 for some time. No idea what happened, and also no idea what does it…
2
votes
2 answers

High server load with no processes using CPU?

I'm new to managing servers, and I've run into something that's stumped me. I received a warning from my VPS provider informing me that my load usage was very high. I hadn't run into this problem before, so I attempted to look into it. Unfortunately…
Yep
  • 121
  • 3
2
votes
1 answer

Low CPU utilization on IIS with no resource contention

I have an ASP.NET application running on IIS7.5 with .NET4. At some specific times, I receive so many requests from the clients (around 10000 in two minutes) and it takes around 20 minutes till they are all done. I am confused, why the CPU usage…
2
votes
1 answer

How can I query CPU usage for a process in Linux at a specific moment in time?

I'm trying to figure out what the CPU usage of Firefox is at any given moment in time, and pipe that number to another script. So, top is not the answer, since its output is in a chart and polluted with special characters. I've also tried: ps -eo…
Neil
  • 2,425
  • 8
  • 36
  • 45
2
votes
0 answers

determine if threads on a cpu are blocked? What are the causes of thread blocks?

The load-average reported by uptime command also displayed in top provides the the average run-queue length over time (1, 5 and 15 minutes) The run-queue length is the sum of the number of threads (tasks) that are currently running plus the number…
Manchego
  • 121
  • 2
2
votes
2 answers

Low CPU and Memory utilization. Does that mean server is healthy?

On a fairly busy RHEL6 server I keep noticing on average following indications CPU Usage : 2%. CPU Load AVG: 0.4,0.2,0.1 Memory Usage: 1.3 out of 16 GB This is the CPU this server has Intel(R) Xeon(R) CPU E31240 @ 3.30GHz, 8 cores Does this mean…
Hanky Panky
  • 123
  • 6
2
votes
0 answers

strace not showing anything for thread at 100% 'system' CPU

I'm having difficulty with my Python app going to 100% 'system' CPU time across multiple threads for up to 10+ seconds. My (limited) understanding is that 'system' CPU time is time spent in the kernel. strace shows what kernel calls are being made…
Damon Maria
  • 121
  • 1
  • 3
2
votes
1 answer

Load average increasing along with firewall throughput

I've just pushed a large change to my backend code and I've noticed a massive increase in the load average in the few hours since the push. I looked at Munin for what the problem might be and I noticed that, along with the load average, the firewall…
benwad
  • 255
  • 2
  • 12
2
votes
2 answers

Get real time CPU usage of linux process with single line command and as a simple result

I've searched everywhere and found nothing about this. I'm trying to create a small gauge that shows the CPU usage of one process specified by PID. I need the command to print a simple answer , hence why top -p $pid isn't good. The command is…
Aron H.
  • 23
  • 1
  • 4
2
votes
1 answer

VMware Infrastructure Web Access 2-CPU Limit?

I am running VMWare Infrastructure Web Access 2.0. I have several VMs running on 24 core machine. I just looked at the most resource-intensive VM and found it is running using only 2 CPU cores of the 24. When attempting to change it (VM is off), the…
dthree
  • 367
  • 1
  • 8
  • 26
2
votes
2 answers

XenServer 6.2 VM 100% CPU and 100% memory usage and won't boot

I had this problem today after a power failure. I had 2 vms and one of them won't boot and was using 100% of CPU and 100% of memory. Since it was very dificult to solve (at least for me) I want to detail here the steps I've made to fix it, mixing…
JorgeeFG
  • 993
  • 8
  • 13