Questions tagged [cpu-usage]

CPU usage indicate how much of a workload is being handled by the CPU.

CPU-usage or CPU time is the amount of time for which a central processing unit (CPU) was used for processing instructions of a computer program.

CPU time accounting :http://public.dhe.ibm.com/software/dw/linux390/perf/CPU_time_accounting.pdf

2881 questions
1
vote
0 answers

CPU spike 100% while running wordpress on amazon ec2 with nginx and php-fpm

I am running a wordpress website on ec2 free tier with t2.micro (1 processor, 1gb ram, 2gb Swap) and hosting mysqldb with amazon RDS. my concern is that my ec2 instance cpu spikes up everytime when i have more than 50 active TCP connections with…
Jay Sarraf
  • 13
  • 6
1
vote
1 answer

Cpu usage increased when getting all win 32

I use power shell script to find a process with its command line name.But when i run the script,cpu usage of the machine is increasing about 10 percent.I don't want this kind of increase amount.Below code scripts is increasing cpu…
nihasmata
  • 652
  • 1
  • 8
  • 28
1
vote
1 answer

Finding processor usage through WMI

I am trying to use the Win32_PerfRawData_PerfOS_Processor class on a windows server enterprise 2007 remotely to find the CPU usage. But I am getting huge 14-15 digit values like 11745679223456 %. Any idea why it is giving erroneous result? It seems…
Hari Menon
  • 33,649
  • 14
  • 85
  • 108
1
vote
1 answer

Xcode CPU Usage Profiling in Instruments

I can't seem to find much information on the Instruments too in Xcode which brought me to Stackoverflow. Is there a way I can see the CPU usage of a particular SDK being used in my iOS application using the CPU Usage tool in Xcode Instruments? I…
Mario A Guzman
  • 3,483
  • 4
  • 27
  • 36
1
vote
0 answers

Difference between average frequency from time_in_state and i7z tool

I am using acpi_cpufreq driver. Please help me to understand why average frequency counted from time_in_state as: For each line in time_in_state file: 1) Read line from time_in_state file, get frequency: freq 2) Get delta time betwen previous and…
Shaienn
  • 11
  • 3
1
vote
1 answer

Huge difference between htop and ps aux output

I am running a test on Ubuntu 14.04. When I check my CPU usage using 'ps aux|grep service' then CPU usage is 0.1 of a process, while in htop for the same process the CPU% is 12.3. Can anyone tell me the reason? or which value should I consider the…
anonymous255
  • 108
  • 10
1
vote
1 answer

GIF animation CPU consumption problem in C#!

I have made a GIF Animation user control which loads gif animations and have created about 30 of them in my project each animating a GIF. The problem is that when I check my CPU usage it is about 70%+!!! I'm sure something is wrong with this! Please…
Moh
  • 1,887
  • 3
  • 18
  • 29
1
vote
1 answer

How to determine number of threads used cores in ARM processors.

I'm trying to us evaluate some aspects of the CPU/GPU performance in ARM processors. I never coded directly into hardware. That's why I'm asking if there is a possible way to determine the number of cores/Shader cores that are used by a program…
Ouss
  • 13
  • 5
1
vote
2 answers

PHP and CPU - Process of chat + notifications

My site has a PHP process running, for each window/tab open, that runs in a maximum of 1 minute, and it returns notifications/chat messages/people online or offline. When JavaScript gets the output, it calls the same PHP process again and so…
Nuno
  • 3,082
  • 5
  • 38
  • 58
1
vote
1 answer

How to know what site opened in Firefox loads CPU on 90%

Some sites opened in Firefox take 90% of CPU usage. Is there some diagnostic utility or plugin to know what these sites are? If site is known, is it possible to know what script, plugin or something else is reason of 90% CPU usage?
user1807338
  • 195
  • 1
  • 1
  • 9
1
vote
1 answer

MemSQL: High CPU usage

My cluster has one MASTER AGGREGATOR and one LEAF. After running two months, the CPU usage in LEAF is very high, almost at 100%. So, is this normal? By the way, its size is 545 MB for table data.
downkang
  • 21
  • 3
1
vote
3 answers

Get Total CPU # via WMI or T-SQL

I don't want the list of all process, just a total percentage like you would see in windows taskmanager. I will be using this information via coldfusion, but i am having all kinds of problems just trying to find a total number of current cpu usage.…
crosenblum
  • 1,869
  • 5
  • 34
  • 57
1
vote
2 answers

How should be spawn threads in python

I am running a python program in a server having python2.7.6 . I have used threading module of python to create multiple threads . I have created 23 threads , so i am confused whether all my processor cores are actually being used or not , Is there…
kkk
  • 1,850
  • 1
  • 25
  • 45
1
vote
1 answer

Improve ExecutorService to execute process on more then 1 cpu

When I run the code below, it seems like only one core is uses by javaw.exe. int cores = Runtime.getRuntime().availableProcessors(); System.out.println("Number of cores: " + cores); //8 cores int partitionSize = alphabet.length /…
BigPino
  • 113
  • 1
  • 10
1
vote
3 answers

CPU Usage in Task Manager using Performance Counters

[My Attempts] Already went through How to get the CPU Usage in C#? But "_Total" Instance of Processor would give me total consumption of CPU as opposed to specifc application or 'process' In a C# Program, I am trying to get the CPU usage…
Ronak Agrawal
  • 1,006
  • 1
  • 19
  • 48