The amount of processing units of the CPU used to execute a task and how long it takes.
Questions tagged [cpu-usage]
687 questions
65
votes
4 answers
What does 'nice' mean on CPU utilization graphs?
On Ubuntu server load graphs I see 4 types of CPU consumption: User, System, Nice and Idle. What does Nice type mean?
Niro
- 1,571
59
votes
6 answers
Linux CPU usage and Process Execution History
Is there any way to see what process(es) caused the most CPU usage? I have AMAZON EC2 Linux which CPU utilization reaches 100 percent and make me to reboot the system. I cannot even login through SSH (Using putty). Is there any way to see what…
pmoubed
- 703
48
votes
8 answers
High CPU utilization, but low load average
We are running into a strange behavior where we see high CPU utilization, but a quite low load average. The behavior is best illustrated by the following graphs from our monitoring system. At about 11:57, the CPU utilization goes from 25% to 75%.…
K Erlandsson
- 725
36
votes
5 answers
What does %st mean in top?
Here is an example from my top: Cpu(s): 6.0%us, 3.0%sy, 0.0%ni, 78.7%id, 0.0%wa, 0.0%hi, 0.3%si, 12.0%st I am trying to figure out the significance of the %st field. I read that it means steal cpu and it represents time spent by the hypervisor, but…
Ben
- 585
- 2
- 5
- 7
29
votes
2 answers
Is there a Windows equivalent of Unix 'CPU steal time'?
In order to assess performance monitoring accuracy on virtualization platforms, the CPU steal time has become an increasingly relevant metric - see EC2 monitoring: the case of stolen CPU for an instructive summary in the context of Amazon EC2 and…
Steffen Opel
- 5,706
29
votes
5 answers
check history of cpu/memory usage in ubuntu?
Is there a way for me to review cpu or memory usage on my ubuntu linux server? I've noticed my server (lamp set up) being slow at times, but by the time I log in as root and run a PS command, everything may have returned to normal. It would be great…
learningtech
- 7,819
28
votes
2 answers
How are CPU time and CPU usage the same?
In the Wikipedia page for CPU time , it says The CPU time is measured in clock ticks or seconds. Often, it is useful to measure CPU time as a percentage of the CPU's capacity, which is called the CPU usage. I don't understand how a time duration can…
Jasmine Lognnes
- 2,690
25
votes
4 answers
"Peaky" CPU Usage on Domain Controllers
We have two Windows Server 2008 SP2 (sadly not 2008 R2) Domain Controllers in a small 150 client domain that are exhibiting very "peaky" CPU usage. The Domain Controllers both exhibit the same behavior and are hosted on vSphere 5.5.0, 1331820. Every…
user62491
23
votes
3 answers
Kill process with high CPU usage after X time?
Running Linux I have a few processes which tend to crash occasionally (game servers), which end up using 100% cpu. I'm looking for a program or script to check the cpu usage of a list of processes by name and if they are at 100% for more than X…
user30153
- 231
23
votes
3 answers
Prioritise ssh logins (nice)
Is there a preferred way to set "nice" for sshd? I need priority given to sshd such that I can login and easily fix stuff when something has gone wrong (eg DoS, badly behaved processes, etc)
s29
- 358
- 1
- 2
- 7
22
votes
1 answer
Taskset not working over a range of cores in isolcpus
To preface I'm using Debian Wheezy with kernel 3.2 on an AMD64 chipset. My machine has two Xeon E5-2690 cores. I set up the boot parameters so that all the cores on one CPU are dedicated to a single process. To do this I've set…
user79126
- 539
20
votes
9 answers
kswapd often uses 100% CPU when swap is in use
Most of the time when my computer starts to need swap, I see a massive spike in CPU usage ( kswapd0 is consistently using 99%-100% CPU). According to top , the time is spent in sy (system/kernel) not wa (IO wait). I am running Linux 4.0.4-2-ARCH on…
Zaz
- 833
19
votes
2 answers
Use of CPUQuota in systemd
I am trying to put a hard limit in CPU usage for a dd command . I have created the following unit file [Unit] Description=Virtual Distributed Ethernet [Service] ExecStart=/usr/bin/ddcommand CPUQuota=10% [Install] WantedBy=multi-user.target which…
SteveGr2015
- 293
17
votes
7 answers
How often do you restart a heavily-utilized Windows Server 2008R2 Remote Desktop Server (VM)?
Note: I've read How Often Do Windows Servers Need to be Restarted? but this question pertains to our Remote Desktop server specifically. We have a Windows Server 2008R2 server - a VMware ESX VM - licensed for Remote Desktop Services, 25 users that…
tacos_tacos_tacos
- 3,280
16
votes
1 answer
How to start a program when CPU percent reaches X
I have been having very intermittent problems with an ASP.NET v 4.0 application happens maybe ever 4 days, what happens is the CPU will spike to 75% and sometimes is will run fine until the end of the day sometimes it will steadily grow to 100% Then…
Anthony Fornito
- 9,596