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
0answers
22 views

CPU governor ondemand is lagging my system [closed]

When I change my cpu governor from userspace to ondemand my system starts lagging. What is causing this, and how can I prevent the lagging?
1
vote
2answers
42 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
24 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
65 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
28 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
40 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
47 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
45 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
26 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 ...
-1
votes
0answers
20 views

Well in CPU utilization

when I get the idle% , I want that % to be minus from 100. like in this picture, I got the idle result after every second. What I want is that e.g idle shows 99.49 out of 100. I actually want my ...
0
votes
1answer
31 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
270 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
21 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
64 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
46 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
44 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
92 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
44 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
38 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
53 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
97 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
48 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
285 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
64 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
27 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
107 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
62 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
47 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 ...
0
votes
0answers
32 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
49 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
46 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
72 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
115 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
388 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
34 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
319 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
59 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
172 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
54 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 ...
-2
votes
1answer
78 views

How much RAM and CPU for a NTP server? [closed]

As a side project, I am thinking about adding a NTP server to pool.ntp.org. I would like to use CentOS basic, but how much RAM and CPU should I assign to a machine that will only be running ntpd (plus ...
2
votes
1answer
117 views

How can I find the CPU resource utilization of a process and all its children [duplicate]

If I have a process that spawns child processes, is there a good way to get a single number representing the combined CPU use of that process and its children? i.e is there a simple shell command ...
1
vote
1answer
170 views

Why does a linux guest consume 100% of the host CPU under VirtualBox when the guest appears idle?

I am using VirtualBox on a Macbook Pro running Yosemite. My linux guests sometimes consume 100% of the host CPU (viewed in Activity Monitor) even though the guest is idle. Why is the host CPU ...
1
vote
0answers
55 views

/proc/stat - is guest counted into user time?

I have a quick question. In man page for /proc/stat this is not clear to me: Is guest and guest_nice time included in user time in /proc/stat? http://man7.org/linux/man-pages/man5/proc.5.html in ...
3
votes
2answers
74 views

Test if valid executable

Is there a (relatively) simple way to test if an executable not only exists, but is valid? By valid, I mean that an x86_64 Mach-O (OS X) executable will not run on an ARM Raspberry Pi. However, ...
0
votes
0answers
18 views

cacti Cannot display pictures

I install the nagios+cacti in the centos6.4, but the CPU picture drawing, others such as memory, processes are normal. This is why?
0
votes
0answers
42 views

arch linux on alienware 14

I've tried to install arch in my New alienware 14 But i got a few errors there, squashfs is making trouble and something is stuck in the CPUs. Does someone have experiences with that?
1
vote
0answers
39 views

What does the “k” metric mean in the “sa” output?

From man sa: k cpu-time averaged core usage, in 1k units My questions: How is it calculated? What is the significance?