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)

0
votes
1answer
19 views

Threads vs interrupts

What means when threads are time-sliced? Does that means they work as interrupts, don't exit while routine is not finished? Or it executes one instruction from one thread then one instruction from ...
1
vote
3answers
88 views

How to know number of cores of a system in Linux?

I wanted to find out how many cores my system has. So I searched the same question in google. i got some command like: $ lscpu command. When i tried this command, it gave me the following result: In ...
2
votes
0answers
17 views

CPU Handling with Delayed Work [migrated]

Hey so I'm looking at this function in the kernel source code. I'm trying to figure out how Linux handles the situation where a task cannot be scheduled on the local CPU. /** * queue_delayed_work - ...
0
votes
2answers
43 views

Is there a good resource monitoring tool in linux?

I've been looking for a good resource monitor in linux for a couple of hours and all I have found is conky. Specifically I've been looking for something to monitor my core clock speeds. I've found ...
0
votes
0answers
6 views

/proc filesystem - getting useful information

I'm trying to understand the values in /proc/PID/status. I want to calculate cpu% & mem% used by PID, similar to top bash command. For Memory percentage usage I can do the following (correct me ...
0
votes
0answers
16 views

cpu temperature is higher than usual after installing xubuntu

I have installed Xubuntu 14.04 on Asus S550CB but the system becomes warmer than usual. So I tried to configure lm-sensors and saw cpu temperature is about 50 degrees. I guessed that some drivers are ...
3
votes
1answer
32 views

Resource (CPU time and memory) limitation and termination of a process upon violation in Linux

The problem: Given a process, limit the resources it and its child-processes can use. I.e. set CPU time and virtual memory quotas. When the process group exceeds one of the limits, terminate it, ...
-1
votes
1answer
29 views

Monitor Cpu & Ram Uasge Via Web

Sorry about that newbie question. But does anyone know how to make or where to find a script that will monitor CPU and ram usage, so i will be able to use it at my admin panel on web? I'm running a ...
0
votes
0answers
17 views

Get AMD 8320 CPU temp?

I'm looking to get the CPU temperature of my AMD FX-8320 chip. I have lm-sensors installed and I've run sensors-detect saying yes to all of the prompts. I also have the kmod system service running and ...
1
vote
0answers
32 views

Linux cgroups: limit CPU usage in absolute values which do not depend on CPU speed

I have a server with a 2.4GHz processor. And there are several cgroups, each one allowed to use 25% of CPU. That's equal to 600MHz. Then I replace the CPU with a faster one, let's say 3.0GHz. If I ...
1
vote
2answers
55 views

Why is the range of load average not 0-1+ for all cpu's together?

I know that load average is 0-1(or 0-1024) per cpu. E.g a busy quad-core can have a load average of 4.0 or higher. (e.g if there are many tasks). I understand it can be huge like 100+ etc. I also ...
1
vote
1answer
27 views

Show CPU core usage for parent process and its child processes

Is it possible to display CPU core usage just for a single process and its child processes on Linux?
3
votes
3answers
95 views

Linux & Linux-Software: Advantages of a multi core processor [closed]

I plan to get a new notebook and try to find out if a quad-core processor gives me any advantages over a regular dual-core machine. I use common Linux Distributions (Ubuntu, Arch etc.) and mostly ...
1
vote
1answer
57 views

How to ensure ssh via cgroups on centos?

When some cpu-intensive processes are running on the server, chances are that we could not log in to this machine with error 'operation timeout' via ssh command. According to this post answered by ...
3
votes
2answers
54 views

How to determine the maximum number to pass to make -j option?

I want to compile as fast as possible. Go figure. And would like to automate the choice of the number following the -j option. How can I programmatically choose that value, e.g. in a shell script? ...
3
votes
2answers
51 views

Telling Linux kernel *not* to use certain CPUs

I'm trying to run some benchmarks on a multicore machine and I'd like to tell the Linux kernel to simply avoid certain cores unless explicitly told to use them. The idea is that I could set aside a ...
0
votes
0answers
49 views

CPU Scheduling incredibly slow with large difference between total execution time and actual CPU time - Ubuntu Full-Disk Encryption enabled

Admittedly, I am running on a build that is no younger than five years old at this point and the system is not going to be incredibly fast. However, at the same time, the run-times I am observing are ...
0
votes
0answers
34 views

High %sy cpu usage , server is very slow

On one of the server we are noticing high %sy usage due to which server is very slow. Below is strace count for syscall. What will be the reason for high %sy usage. % time seconds usecs/call ...
0
votes
1answer
37 views

CPU Utilization & Memory Utilization script

I want to show CPU & Memory utilization. Like I use command of mpstat and get an output: 01:04:19 PM CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s 01:04:19 PM all ...
1
vote
3answers
342 views

How to calculate the memory consumed by a “C” program in linux

I have written two C programmes one is using function pointer, and the other without function pointer. Now i want to know the memory consumed by the two programmes , to see how memory can ...
0
votes
0answers
27 views

How do I gather average cpu use in the background?

I'm trying to determine if an issue I'm having is related to cpu use, but my impacted application doesn't allow me to change terminals once it's open. It there a way I could dump only the cpu useage ...
0
votes
1answer
31 views

Enable virtualization with gigabyte ud3 990fx

I'm trying to get the virtualization running : I have the following settings: Mainboard: gigabyte ud3 990fx CPU: fx-9590 Kernel: 3.11.0-12-generic Linux Mint 17 In the bios both svm as well as ...
0
votes
0answers
78 views

Kill the process and restart server when memory is exceeded - bash and cron

I have a site on webfaction, using django and python. However, I have problem with memory. The problem arises, because I use external library, that can run forever (consuming much time and memory). ...
1
vote
1answer
52 views

Get list of supported opcodes

Is there a way to get a list of supported opcodes for a given architecture? Such as a listing in /proc similar to /proc/cpuinfo.
2
votes
1answer
53 views

Can one core on a multicore linux system be dedicated to one user-space app?

Can a core be dedicated to one user-space app (e.g. for the purpose of bit-banging GPIO without any interruptions)?
4
votes
0answers
96 views

Why is 'steal' time gradually increasing?

I'm tracking CPU usage on a VM on a lightly-loaded host. Everything appears to be functioning normally on all the VMs, but collectd is reporting a gradually increasing 'steal' time: The actual ...
1
vote
0answers
47 views

How to reduce temperature of my Toshiba with Slackware?

I have a Notebook Toshiba with Slackware 14.1 64bits $ lspci: 00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 ...
0
votes
0answers
48 views

Isolating some CPU cores reduce average CPU usage of game servers

Hardware: FX8320 (8 cores) @ 4.4GHz, 16GB I run 10 TF2 game servers. Few days ago I isolated some CPU cores with line in linux grub config: isolcpus=5-7 The strange thing - individual CPU cores ...
0
votes
1answer
70 views

How to check whether my AIX is PPC OR PPC64?

My AIX machine is currently running on 6.1 OS. I would like to know whether it is on PPC OR PPC64, Is there any command other than arch which gives the information about PPC ?
1
vote
2answers
117 views

Are “kernel mode” and “user mode” hardware features or software features?

I read that there are two modes called “kernel mode” and “user mode” to handle execution of processes. (Understanding the Linux Kernel, 3rd Edition.) Is that a hardware switch (kernel/user) that is ...
1
vote
0answers
51 views

CPU always at 80°C while the system is idle

My system is quite unused at the moment: %Cpu(s): 10.3 us, 3.1 sy, 0.0 ni, 85.9 id, 0.7 wa, 0.0 hi, 0.0 si, 0.0 s but still the temps sensors give me are quite high: acpitz-virtual-0 ...
2
votes
1answer
327 views

CPU speed and cat /proc/cpuinfo

I use centos 6.4 64. I have old proc - CPU AMD Phenom II X4 810 (HDX810W) 2.6 GHz. However, when I execute the command cat /proc/cpuinfo I get the following: processor : 0 vendor_id : ...
2
votes
2answers
79 views

Pipe Viewer - Progress monitor performance consequence

I am writing a batch script to sort through gigs and gigs of data. All of the data is text but the script will take a long long time to execute. I would like to give some visual indication that the ...
1
vote
1answer
38 views

Distributing CPU cores between cgroups and outside world

Is it possible to manage access to CPU cores in a similar fashion that memory limiting works? In particular I need to be able to dynamically create and destroy cgroups that will limit a particular ...
0
votes
2answers
142 views

top -bn1 not giving correct CPU usage

I am logging on to a node which I know has near 100% cpu usage (20 single process jobs using nearly 100% cpu each). When I use top interactively, the first iteration, it gives me about 20% ni and the ...
1
vote
1answer
66 views

What does the term 'Unix Processor' mean?

I have Googled around and found a few references to this term, but nothing which defines what it actually means. Does anyone here have experience with such a device? What features must a processor ...
2
votes
1answer
50 views

How to get all CPU cache information without SU access

I am trying to find out the cache mapping scheme for all the levels of class of a linux server, however I do not have root access. I would just use DMIdecode for this but you need root access. Is ...
1
vote
0answers
39 views

cpulimit on a bash script which runs other commands

I have a bash script which runs other cpu-intensive commands . When I apply cpulimit on the bash script, the output of top shows processes for the commands inside the script still run without ...
0
votes
1answer
60 views

NAS: 100% system (kernel) cpu usage

I have a single core NAS My Live Duo. It runs Debian lenny release. I found via htop utility that it constantly use 100% of red cpu without any noticeable process to eat it. Than I checked via iostat ...
1
vote
1answer
52 views

Plot values returned by command output

I have a little script that prints the CPU temperature after each T period of time, so the output is something like this: 19/02/15,01:00 30 19/02/15,02:00 33 19/02/15,03:00 38 19/02/15,04:00 32 ...
0
votes
3answers
74 views

Which commands or operations can be used to put the cpu under intense load?

I would like to measure latencies during high cpu usage but I don't have benchmarking tools like stress and I can't install them. Which operations do you recommend to put the cpu under intense load? ...
1
vote
0answers
137 views

Is it safe to disable Frequency Scaling and CPU idle Power Management support for Real Time purposes?

I'm using a Raspberry Pi board and I would like to build a real time system. During the kernel configuration, I found the CONFIG_CPU_FREQ option, which (from the help section) allows you to change ...
1
vote
1answer
38 views

Identify machine configuration via code

I am writing a program where I need to know about the machine configuration. Code will run on Linux. I want to find the following: Number of CPU Cores Number of CPU Sockets Number of Disks If it's ...
1
vote
2answers
490 views

Kondemand process consumes most of my CPU

Following is the output from top: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 3551 mysql 20 0 10.0g 84m 4052 S 9.4 0.1 544:39.87 mysqld 2311 root 20 0 0 ...
0
votes
1answer
37 views

Solaris prstat - definition of “recent” time used in percentages

The man page for prstat (on Solaris 10 in my case) notes that that CPU % output is the "percentage of recent CPU time". I am trying to understand in more depth what "recent" means in this context - is ...
0
votes
1answer
378 views

Should I install the AMD/Intel microcode packages when running Debian?

Should I install the AMD/Intel microcode packages when running Debian? What exactly do they do, and when should/shouldn't I install them? Why are they in non-free?
1
vote
1answer
61 views

Is there a way to change the number of processors a program sees?

Is there any way I can trick a program into thinking the system has fewer processors? To explain: I am debugging a program that creates as many threads as it has processors, using ...
1
vote
1answer
215 views

AIX CPU usage - how to know how many CPUs running?

Over AIX 6.1 - I do see the following output, it says I have 16 Max Physical CPUs; but there are only 8 active - why is that? The system will use the remaining 8 if needed? Or are they disabled? # ...
0
votes
2answers
57 views

How can I find figure out why a machine has consistently 70%+ CPU usage?

My machine (Macbookpro, Archlinux) has consistently a CPU at 70%+, yet I have no clue why. This doesn't happen on MacOS, only on Linux. Using htop, I can see no program using more than 2% of CPU. ...
0
votes
1answer
55 views

linux + top command

I run the top command on my linux machine and I see that vim command take like 99.5% CPU PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND ...