The CPU (Central Processing Unit), is the chip in the computer that actually performs the operations and calculations that are done as a program runs. It is essentially what executes a program.

learn more… | top users | synonyms (1)

-1
votes
1answer
63 views

How to stop CPU fan in Linux?

I use an old computer. CPU fan creates big noise. Sometimes CPU fan suddenly stops and does not work for a long time, and CPU does not get heated in these long periods, because I use very light-weight ...
1
vote
1answer
73 views

Elementary OS Gala using more than 100% CPU constantly

I am using ElementaryOS with the default Drivers and my Gala process is constantly using tons of CPU (sometimes more than 200%). I have looked everywhere but couldnt find a solution. I tried to ...
3
votes
0answers
50 views

Strange cpu usage values reported by pidstat

I have a script that reports the cpu usage of a specific program reading values from pidstat. The script launches as: pidstat -C ^frontend$ -h -l -p ALL 1 1 The values reported this way sometimes ...
1
vote
3answers
55 views

Run linux process at very very low priority?

I have regular process that not so important but will consume so much CPU power, and I have another process which is really important, but it spend most of the time idle, but when it got a job it ...
2
votes
0answers
30 views

Help troubleshoot a very slow system performance (Kubuntu, intel graphics) [closed]

As the title says the performance of my laptop is simply terrible. i3 M380 @ 2.53GHz, 4GB RAM (of which more than 2GB is rarely used), intel HD graphics (to external monitor through HDMI). It takes ...
0
votes
1answer
42 views

Comparing Windows and Linux machine hardware

I have to compare Linux and Windows machine hardware? In windows system, I can open the My computer properties and see the details like processors, RAM Hard disks etc. Through task manager, I can see ...
0
votes
0answers
124 views

What's limiting my CPU usage in forked processes?

I am running some long-running programs (for scientific purposes) on a multi-core Linux box. The processes are controlled by a small daemon which restarts the next job when one finishes (I run 3-6 at ...
1
vote
1answer
21 views

why is my laptop-mode configuration being ignored?

I am running Debian GNU/Linux Jessie (testing) on my laptop. I enabled the systemd laptop-mode service: $ sudo laptop_mode Laptop mode enabled, active [unchanged] and in my ...
5
votes
1answer
87 views

Whats the history behind the fork bomb?

I read other question about its work and other things that Fork bombs operate both by consuming CPU time in the process of forking, and by saturating the operating system's process table. A basic ...
8
votes
1answer
187 views

What does a computer actually do with its spare CPU cycles?

When a computer is not running at full load, in the context of Linux, what does it actually do? Between scheduled threads, if there is nothing to do, does it spin wait? Does it enter some sleep state? ...
4
votes
4answers
1k views

Limiting processes to not exceed more than 10% of CPU usage

I operate a Linux system which has a lot of users but sometimes an abuse occurs; where a user might run a single process that uses up more than 80% of the CPU/Memory. So is there a way to prevent ...
0
votes
0answers
35 views

File to access for CPU load average on AIX

Is there a file with the load average in it on AIX? I'm looking for something like Linux's /proc/loadavg.
1
vote
0answers
46 views

Disable processor speed changes on AC vs battery [closed]

My Toshiba Satellite L300 laptop freezes when I plug in the AC power cord. The problem is, whenever the processor goes in power management or downclocks, the system freezes and shows colorful ...
2
votes
1answer
86 views

where is PCB on linux

PCB is process control black , this is its definitions on Wikipedia Process Control Block (PCB, also called Task Controlling Block,[1] Task Struct, or Switchframe) is a data structure in the ...
1
vote
0answers
54 views

How do you run CPU at turbo speed continuously

processor : 7 vendor_id : GenuineIntel cpu family : 6 model : 60 model name : Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz stepping : 3 cpu MHz : 3299.670 ...
2
votes
0answers
79 views

Difference between 'sar' and 'iostat' commands

With sar and iowait, we can get CPU time utilization. But, when I executed both commands, I could see significant differences in their outputs. > iostat && sar 1 1 Linux ...
0
votes
0answers
74 views

CPU Frequency Scaling Monitor: No passwd, all cores at once

I use MATE 1.6.2 and CPU Frequency Scaling Monitor 1.6.2. I would like two things: Get rid of the need of the root password to change the CPU settings. To affect all cores at once. The problem is ...
1
vote
1answer
59 views

How to calculate per CPU load

Is there any C API to calculate per CPU load? /proc/loadavg gives the CPU average load for all available CPUs and /proc/stat doesn't mention anything about active processes per CPU. How can I obtain ...
0
votes
1answer
75 views

Lower cpu performance in Linux [closed]

I have a problem with my CPU performance in Linux. I have a laptop, Toshiba Satellite C660-101. Despite the fact that the CPU works perfectly fine in Windows 7, Linux has some serious issues. ...
5
votes
1answer
144 views

Get CPU usage for single process

I've got a problem getting a real-time CPU usage of a single process (by its PID). I'd like to setup a watchdog for the CPU usage of a process because it's suddenly reaching 100% of the CPU usage ...
1
vote
0answers
208 views

kernel log in /var/log/messages: task xxx blocked blocked for more than 120 seconds . System frozen [closed]

Monit sent out emails in the morning that my java app on the server was not responding to HTTP calls made on the 127.0.0.1 interface. App log shows nothing out of the ordinary, nginx log shows no ...
0
votes
0answers
54 views

Disable CPU scaling with U 1404

I know there are a lot of things about this topic but I couldn't find anything not older than 4 years. As the stuff develops so fast I hope it is fine to ask again a few years later. What is ...
2
votes
4answers
389 views

Number of processors in /proc/cpuinfo

While i was learning about cpu load i came to know that it depends on numbers of core. if i have 2 cores then load 2 will give 100% cpu utilization. So i tried to find out cores.( i already know that ...
0
votes
0answers
405 views

NVIDIA: could not open the device file /dev/nvidia0 (Operation not permitted)

When I try to run chrome/ium on command line it says NVIDIA: could not open the device file /dev/nvidia0` (Operation not permitted) I don't know whether its related with high CPU usage on ...
1
vote
2answers
172 views

diabling cpu cores on quad core processor on linux

I want to disable 3 CPU cores and run my processor on a single core. I have used command:maxcpus=1. But after this I executed this command ls /sys/devices/system/cpu. It still shows ...
1
vote
2answers
341 views

How to check the cpu temperatures core by core?

I have a Phenom X3-8450e which has a total of 3 cores. But when i ran "sensors" on a terminal this is what i get. user@PC ~ $ sensors atk0110-acpi-0 Adapter: ACPI interface ...
3
votes
2answers
207 views

Understanding %CPU while running top command [duplicate]

I am trying to understand what does %CPU means when I run top. I am seeing %CPU for my application as 400 or 500 most of the times. Does anyone knows what does this mean? What number is a high ...
6
votes
1answer
107 views

KVM reports strange CPU usage peaks (bash infinite recursion)

On a KVM machine running Fedora 20 I ran ulimit -s unlimited (this removes limit on stack size) and an experimental torturing testing script. All this script does is just infinite recursion: ...
1
vote
2answers
76 views

What does % utilization mean in htop if only 1 process can execute at a time?

I see that the htop command reports respective the % of utilisation of each CPU core and also that of the processes. We know that only 1 process can execute at a time in the CPU. How is it possible ...
1
vote
2answers
155 views

Setting running process affinity with taskset fails

I'm attempting to limit a process to a given number of CPU cores. According to the taskset man page and this documentation, the following should work: [fedora@dfarrell-opendaylight-cbench-devel ~]$ ...
3
votes
2answers
71 views

CPU percentage of a single process

How do I get the average CPU percentage (for every second) consumed by a single process since it starts until it ends (exists)? Could I make this with Top?
1
vote
3answers
252 views

detect process eating cpu without: top, htop, ps?

I went thru a problem where I could only guess what process was eating the cpu. My cpu usage was about 80% for all cores at psensor. I tried htop, top and ps -A -o pcpu,pid,cmd --sort +pcpu (the ...
3
votes
0answers
46 views

Figuring out physical cache layout in FreeBSD

I'm trying to figure out they physical cache layout of my CPU in FreeBSD 10. I see the following from sysctl kern.sched.topology_spec kern.sched.topology_spec: <groups> <group level="1" ...
4
votes
1answer
68 views

Find out if CPU supports dynamic speed setting

I need to find out in my script if a (potentially legacy) CPU supports dynamic speed setting, and eventually get value of maximum and current speed. What makes it more complicated is that I need to ...
2
votes
1answer
870 views

Very high CPU load, but nothing significant in top

I'm running Ubuntu Linux 12.04.1, with VirtualMin 4.08.gpl GPL and 2 CPU cores. Pretty much all the time for the last few weeks, it's been running at well above load average of 5, usually up closer ...
1
vote
2answers
364 views

Does BIOS read directly the bootloader or load it into RAM?

I'm trying to understand the very first steps of the boot process. The CPU read the BIOS It reads a fixed address instruction It will jump to the first BIOS instructions address It will execute ...
2
votes
0answers
21 views

Intel Xeon stuck at 800mhz CPU Freq on RHEL 6.5 [duplicate]

Currently running into a headache trying to figure out why my CPU speed is stuck as such a low frequency. After doing some research, I found that cpuspeedutil does actually control the state of the ...
1
vote
1answer
46 views

Check SSE3 support from bash?

Is there a way to check whether or not the current system supports SSE3 from a bash script? I'm currently writing an installer script, and the program in question has an alternate version that takes ...
2
votes
3answers
250 views

Is there a way to make your process use less CPU?

I want my device to use less CPU to save battery. I have a program that uses a large amount of it. nice won't help as all it does is change scheduling when CPU is at %100, while I don't want it to get ...
1
vote
1answer
198 views

CPU Placement in KVM

I have a configuration of KVM guests where the cpu placement is configured as follows: <vcpu placement='static'>1</vcpu> Now since I don't have a cpuset specified I was reading libvirt ...
3
votes
1answer
139 views

Slow down CPU when it heats up

I run Gentoo Linux on my laptop. I have an issue, though, where if I'm building some very large piece of software (as I do fairly frequently, since the purpose of this laptop is development), the CPU ...
2
votes
2answers
1k views

High Idle CPU / Low CPU Load average

After removing APC (alternative php cache), I noticed that there are less pagination access and less dirty pages but in the same time: High idle CPU Very low CPU load (relatively to the time before ...
2
votes
1answer
56 views

Minimizing hardware interrupts

I am using a modified Linux kernel as a soft real-time OS, on a system that has an architecture like this: CPU1 and CPU2 have 8 cores each. I have 4 processes that need to be run with minimum ...
5
votes
1answer
72 views

How the network packets are transferred to the memory on linux?

Is there some command or tool for monitoring network packets and how those packets are handled by the memory and than proceeded to the CPU on linux platform? Using tcpdump I can capture many apache ...
2
votes
2answers
292 views

How to get CPU Percentage as a Counter?

I would like to monitor total CPU utilization percentage as a counter. The reason I would like it as a counter is that data won't be lost between samples (and I can have the graphing side calculate ...
1
vote
1answer
54 views

CPU and RAM monitorization by parent id

I'm trying to monitor the CPU and RAM usage (in % of total for example) of a given process wich may spawn several processes. The parent process is /bin/rscw so I get its pid by ppid_bl=$(ps -ef | ...
0
votes
1answer
48 views

Having an independent console to kill rogue process?

Sometimes a flash plugin starts using all the mem and CPU or an app is also behaving "naughtily" and my system starts to crawl until i finally get a terminal with htop up and kill the rogue process, ...
3
votes
2answers
90 views

What does it mean exactly when a processes “Time” has stopped in top?

I'll be looking into why we're getting critical swap alerts, and I'll find something like: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP COMMAND 14683 user1 30 10 16.0g 772m ...
0
votes
1answer
84 views

What happens to the files when they are being decrypted?

I have the server's webroot directory mounted on a partition which is being protected with LUKS encryption. I want to know what happens to the files within when that partition is being decrypted. Does ...
3
votes
1answer
104 views

What's the correct value to base the maximum number of CPU's to sched_setaffinity to?

I have some confusion as to what's the correct value to use for the number of CPU's I can use to make a CPU_SET for a sched_setaffinity call on my system. My /proc/cpuinfo file: processor : 0 ...