Questions tagged [cpu-usage]
268 questions
5
votes
2 answers
If R (runqueue) is greater than B (waitqueue) in vmstat, is it I/O bound?
If the runqueue is the number of processes waiting for their turn on the CPU + processes currently running, and waitqueue is the number of processes waiting for I/O, then wouldn’t B in the vmstat output being greater than R mean that there is an I/O…

John Alvarez
- 51
- 1
- 2
4
votes
2 answers
How to show accumulated cpu usage of top 10 processes?
I know the command top, but top only shows the actual numbers for cpu and memory usage. But sometimes many numbers fluctuate very quickly, so it's hard to find out which processes really need much of cpu time.
Is there a way to display the…

Hubert Schölnast
- 141
2
votes
0 answers
Htop shows half cores at 100% cpu usage after power on, but no processes are runing
I am using an Ubuntu 20.04 server, but it starts up with 50% CPU use without any process running. I tried many ways such as rebooting and upgrading OS, including this, but in vain.
can anyone help me find why this happens and resolve this please?

holder fo
- 21
2
votes
1 answer
How can I limit the number of CPU cores that a user can use at any moment on Linux?
I would like to limit the number of CPU cores that a specific user can use at any single moment. How would I do this on Linux?

xuhdev
- 327
2
votes
0 answers
Is there a way for a third-party application to know if a user is monitoring CPU usage?
I'm wondering if it is possible for an application, malware for example, to drop its cpu usage once it detects cpu usage is being monitored.

Sparkler
- 1,059
2
votes
1 answer
How can I get the total CPU usage of a Linux machine with 1 or n CPU cores?
I am currently using the below method to extract CPU usage idle value from top command and subtracting the value from 100. Is this method correct and is there a better way to achieve the same.
Also, my linux VM is a stripped down version and has…
1
vote
1 answer
Migration process linux consuming high CPU time
ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 12 2367 0.0 0 0 ? S Dec12 73367:02 [migration/1]
Migration/1 is consuming high CPU time while being in "S" state.
What does this mean? Is there something I could/should do about…

new_linux_user
- 131
0
votes
1 answer
The 8 CPU of Core 0 at 100% us. Don't understand why
Need help as i don't understand why the 8 CPU of Core 0 run at 100% us. 8 others Cpu on core 1 are normal.
The rigth column P on figure correspond to "Last Used CPU" order by Cpu asc.
Thank's for all suggestions
An process sorted by TIME+
To reply…

xspe
- 1