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

How to get CPU/memory/energy impact/disk/network info in iOS?

when debugging app in Xcode, I can get these information(such as cpu,memory/energy..image here[1]) at debug navigator,how can i get these info in my app?Dose there have some OC/C api or function that I can use? Thanks!
1
vote
0 answers

isolcpus - binding not working

Sorry, this is a duplicate question from ServerFault. I am posting this here since I didn't get any response there. Question: I am using isolcpus to isolate cores. I would like to bind specific threads to cores, but it is not working. The threads…
Prashanth
  • 328
  • 2
  • 3
  • 11
1
vote
1 answer

Cpu and memory utilisation of individual host in mininet network topology

Mininet hosts have their own network namespace, however, they all run in the same "process id namespace". I want to know information (memory and cpu usage) regarding host-specific processes because I am experimenting with load balancing and I want…
gmeh94
  • 31
  • 4
1
vote
2 answers

Usage of Cpu and Outofmemory Exception

We have a web application based on asp.net 1.1. We deployed it on a web server but there is a problem about it. In the webserver sometimes cpu usage is increasing to 100% and outofmemory exception is occuring. I think there are some wrong code…
mavera
  • 3,171
  • 7
  • 45
  • 58
1
vote
0 answers

Query optimizing in sql

select a.col1,a.col2,count(b.col1) as cnt from table1 a,table2 b where b.col2 between a.col1 and a.col2 group by a.col1,a.col2 The above query is taking 5 minutes in SQL Server 2008 r2 and taking 100% cpu usage, any idea to tune the query?…
Pavithra
  • 11
  • 1
1
vote
0 answers

Unidentified command in linux top command result

We have developed an app and hosted on linux (aws) with 50 gb hard disk and 16 gb of ram (t2.xlarge). We found even in the moderate traffic cpu usage goes up to around 80% When we tried to check the memory usage through terminal we found around…
Chirag Purohit
  • 731
  • 11
  • 20
1
vote
2 answers

Distributed CPU-intensive processes in Kubernetes/Docker

I have an application that uses a lot of CPU. I thought in Kubernetes as a way to distribute the workload among small pieces of work, then I created several CPU-limited pods. It turns out that Docker has a constraint in which it distributes the…
e_v_e
  • 478
  • 3
  • 16
1
vote
2 answers

Java heap space error in "value checking from list" program

I created a simple program to read from a list some values and keep only those of a specified length and also to extract 3 characters from them, but from a different position each time. For example if we have the value nick07n the program should…
John Stef
  • 585
  • 1
  • 4
  • 16
1
vote
1 answer

Elastic Beanstalk high CPU load after a week of running

I am running a single-instance worker on AWS Beanstalk. It is a single-container Docker that runs some processes once every business day. Mostly, the processes sync a large number of small files from S3 and analyze those. The setup runs fine for…
1
vote
1 answer

using apple script to exit app at a specified cpu%

I want a script that will exit an application after it has finished processing files. the code below is one that I have tried creating myself by researching others creations but have had no luck in actually getting it to work. this specific software…
1
vote
1 answer

How to profile CPU used by method/function in Swift

The app I'm developing does some intensive processing and I'd like to understand where the time is being used. The Time Profiler in Instruments shows the tree of calls but I can't see how to get the information I need. My app has a structure like…
Julian7
  • 191
  • 1
  • 12
1
vote
0 answers

Woried about my app CPU usage - device is getting hot

I'm developing a music player app using Android Studio, the app works fine. But I've noticed that the phone on which I'm testing the app is getting hot (in the baack), not so much but perceptible, when the app's running. So I run the monitor there…
esQmo_
  • 1,464
  • 3
  • 18
  • 43
1
vote
1 answer

Win32_PerfRawData_PerfProc_Process class not working, not others works

I'm trying to get CPU usage data with WMI. For this purpose I'm using the Win32_PerfRawData_PerfProc_Process class. When I run below code, I do not get any result. ManagementObjectSearcher searcher = new…
S Topkaya
  • 51
  • 3
1
vote
0 answers

SQL Statement - CPU Usage - hard parsing

I was going through ADDM Reports in Oracle instance of my Project, and I found a SQL Statement appearing in ADDM snapshot consistently, below is one of the recommendations from report by Oracle: Rationale The SQL spent only 0% of its database…
M W
  • 13
  • 4
1
vote
1 answer

cpu power consumption and set bits

I'm working on side channel attack on prime number generation by measuring power consumed by the cpu while doing that, let's say that the cpu process 10000 mpz_t integer ( size 512 ) does the number of set bits (Hamming weight) in those integers…
Hamza Tahiri
  • 488
  • 3
  • 13