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
1 answer

Can't get the CPU Usage in C# using PerformanceCounter - System.FormatException

I always used this simple code (from #278071) to get CPU usage: var cpuCounter = new PerformanceCounter("Processor", "% Processor Time", "_Total"); public string getCurrentCpuUsage() { return cpuCounter.NextValue()+"%"; } It worked…
Cluster
  • 998
  • 10
  • 14
1
vote
2 answers

Cherrypy quickstart consuming high CPU usage while idle

I have the following CherryPy quickstart example: import cherrypy class HelloWorld(object): @cherrypy.expose def index(self): return "Hello world!" if __name__ == '__main__': cherrypy.quickstart(HelloWorld()) I've found that…
vgmoose
  • 445
  • 4
  • 10
1
vote
1 answer

How much does including an unused function cost?

I have a lot of useful vbscript functions and I include all of them at once in every asp package I create. Perhaps I wont use some of them. e.g. How much does including a function cost? (I mean cpu usage) and…
Ali Sheikhpour
  • 10,475
  • 5
  • 41
  • 82
1
vote
1 answer

How to know when MySQL is reaching memory limits of server?

How do I know the memory consumption of MySQL, and when it is reaching the memory limits of my server? I would like to know to so I can diagnose performance problems when they arise.
eric
  • 1,453
  • 2
  • 20
  • 32
1
vote
0 answers

Adding idle workstation to cluster when not used

We have multiple computers in our company that sometimes used as work stations and sometimes as server (running user defined jobs) I would like to harnessed all the available computing power of the workstations to be part of the grid (to add them to…
Ilia
  • 534
  • 3
  • 21
1
vote
0 answers

IntelliJIDEA high CPU Usage (over 300%)

Please help me with my issue. I have a MacBook Pro 2011 8GB core i5, always when I'am launch IDE I hear sounds like a "Shuttle" started :( In "system monitor" I see - this result: Please help! I love this IDE. This problem occurs when I launch…
Oleg Sevruk
  • 999
  • 8
  • 11
1
vote
0 answers

CPU and Memory usage in a denial of service attack. What the difference between the data?

The Debian crontab file that is a web server Apache has the line: */2 * * * * echo -e "`date`\n\n`free` \n\n`vmstat`\n" >> /home/hacker/free_vmstat_output.txt I extracted the following data from 2 different moments: -e …
Laurinda Souza
  • 1,207
  • 4
  • 14
  • 29
1
vote
0 answers

Apache high CPU usage

I am having a webservice API in a php file (api.php). Android / iOS app will get the data from this Web service. There are 1000 - 3000 users as of now. App will get the data for every 5 seconds (Real time data) from the server. I am experiencing the…
Muthu
  • 1,550
  • 10
  • 36
  • 62
1
vote
2 answers

What is the minimum system requirement to run nodejs app with pm2?

I am new to pm2 concept,I am facing problem where my cpu usage increases and reaches upto 100% memory and my server goes down resulting to crashing of website,so can anyone please consult me on this.Do I need to change the configuration of my…
1
vote
1 answer

collectd wrong cpu values

I'm trying to monitor my cpu usage using collectd, problem is the log files are always giving increasing measurements (starts with 80 and ends in 20k), like it is giving me cumulative values (not sure if they are). This is my configuration…
Batatas
  • 11
  • 4
1
vote
1 answer

DefaultMessageListenerContainer max limit of concurrentConsumers and maxConcurrentConsumers to handle too many messages

I want to concurrently listen the messages(Plenty of messages) from Queue using Spring's DefaultMessageListenerContainer.
Alagammal P
  • 829
  • 5
  • 19
  • 43
1
vote
1 answer

Log CPU Usage in Visual Studio

I want to log the CPU usage of my C program in Visual Studio. Using Performance Profile I am able to view the graphical representation of the CPU usage of my C program. But what should I do or what code should I add to my existing code so that I can…
user8212057
1
vote
1 answer

Monitoring docker with prometheus - cpu usage looks the same for different containers

My setup: Prometheus server 2 node-exporters Grafana docker-compose.yml version: '2' services: prometheus_srv: build: ./prom_serv image: prom/prometheus container_name: prometheus_server hostname: prometheus_server …
tgogos
  • 23,218
  • 20
  • 96
  • 128
1
vote
1 answer

ReportViewer 11.0 high cpu on iis windows server 2016

Around June 1th. 2017 our rdlc reports suddenly runs very slow. A small report returning approx 100 rows that is rendered in a tablix makes the IIS go to 100% for approx 9-10 seconds. The CPU increase happens after the report data has been received…
Thomas
  • 21
  • 5
1
vote
0 answers

apache httpd high cpu 100% on centos 6.8

I'm using apache 2.2 on centos 6.8. Sometime some httpd process used 100% as image below: Top monitoring I already checked all website's source code and all of them is ok ( no loop, no error, ... ). and httpd.conf: Timeout 30 KeepAlive Off
LeeThong
  • 21
  • 3