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

0
votes
1answer
205 views

Samba daemon hammering CPU on CentOS 5.6 VM on bootup

I have a problem where my Centos 5.6 VM is running very slow on my Win7 machine, and looking at top I can see that the Samba daemon smbd is sitting at the top of the list hitting the CPU big time, ...
5
votes
3answers
184 views

Determining the particular processor on which a process is running

I have access to an 8-core node of a Linux cluster. When logged in to the node, I can see a list of processors using this command: more /proc/cpuinfo In my 8-core node, the processors are numbered ...
4
votes
1answer
199 views

Control cpu freq depending on ac/battery state

How can I make my linux system (ubuntu) automatically choose the performance governor when it works with ac and switch automatically to ondemand when it is on battery (and vice versa)? Is it also ...
4
votes
2answers
176 views

Externaly limiting number of CPU cores used

I need to externally limit a process/session to a certain number of cores. Are there any other possibilities than CPU affinity (I don't like the need to specify the actual cores) and cgroups (hard to ...
8
votes
4answers
2k views

32-bit, 64-bit CPU op-mode on Linux

I'm confused. Running Fedora Linux, lscpu yields: Architecture: i686 CPU op-mode(s): 32-bit, 64-bit ... But when I try to install a 64-bit program (Chrome) I get error like: ...
4
votes
2answers
1k views

CPU usage of KVM

I have a linux host with 4 KVM linux guests. All the guest are pretty much idle, having a load of <0.1 inside the guest. Now, if I do a top on the host, each KVM process is using something about ...
1
vote
3answers
222 views

Was my CPU kinda broken?

Today I've received some message from mcelog utility, Processor 3 heated above trip temperature. Throttling enabled. Please check your system cooling. Performance will be impacted It happens when I ...
3
votes
0answers
138 views

Exynos 5 DVFS or turning off cores in Ubuntu - Scaling frequency for one of the cores only (dual core) (cpufreq)

I was wondering if there is possible to scale only one of the cpu cores in the A15 in Exynos 5 ? I have tried using e.g cpufreq-set -c 1 -f 500MHz, but both cores are set to the same frequency. When ...
3
votes
1answer
134 views

How to measure the clock pulse of my computer manually?

My PC has two processors, and I know that each one runs at 1.86 GHz. I have just read about clock cycles and I only have a (very) rough understanding, so I apologize beforehand if my question is so ...
0
votes
0answers
74 views

Prevent Java to escalate CPU usage on Slackware64?

I use Slackware64-current on my work laptop and though I love running Slackware, sometimes it hangs on me near to the point of starting considering falling back to Windows. I develop on Java and use ...
0
votes
1answer
712 views

Limit CPU and memory usage for PHP-FPM and Nginx processes in CentOS

I want to limit CPU and memory usage for PHP-FPM and Nginx processes in CentOS. I came across following tools cpulimit cggroups memory resource locater which will more efficient and how can I ...
4
votes
6answers
3k views

Getting cpu usage same every time.

When I execute following command to get cpu usage , I get nice + user cpu usage. top -b -n1 | grep "Cpu(s)" | awk '{print $2 + $4}' Output: 14.5 Here I am getting problem is that the output ...
0
votes
2answers
98 views

Ubuntu 10.04 on 64bit

I need to download the 64bit version of Ubuntu 10.04, I found this link http://releases.ubuntu.com/lucid/ and select this option: PC (Intel x86) desktop CD But it is x86? And the other 64bit ...
3
votes
2answers
361 views

How to bzip a file with minimum cpu percentage?

I am using bzip2 to compress a file,the process takes more that 100% cpu.Is there any way to run bzip2 with minimum CPU precentage.
2
votes
0answers
140 views

Unable to reduce core frequency freebsd

I'm working on a FreeBSD project where I need to maintain the temperature of the processor below a threshold value. In order to reduce the temperature I'm trying to dynamically change the frequency of ...
1
vote
0answers
113 views

FreeBSD 9,1 - upowerd's cpu consumption off the roof and causes OS to restart

I've been experiencing a really annoying problem with a FreeBSD setup on my laptop. The setup is as follows: FreeBSD 9.1 / KDE4 desktop / Broadcom wireless 4313 through NDIS / Intel GPU with the new ...
5
votes
2answers
299 views

Why do I have four CPUs listed in /proc/cpuinfo?

When I bought my Lenovo Thinkpad 520, it had Windows installed. I promptly cleaned that out and installed Fedora 16. I recently visited the /proc/cpuinfo and, much to my surprise, discovered that it ...
0
votes
1answer
90 views

Does loadavg affect CPU usage?

Does loadavg affect the CPU usage? Say I see a process consuming 60% of CPU time, both when loadavg (last minute) was 5 and 1, would it be the same?
3
votes
2answers
3k views

Bash script that automatically kills processes when CPU/memory usage gets too high

I have created a script that kills processes if CPU and/or memory usage hits 80%. It creates a list of killed processes when this happens. What can I do to improve it? while [ 1 ]; do echo echo ...
1
vote
3answers
2k views

kswapd0 takes 99% to 100% CPU in RHEL 6.3

I have 5 systems on which I have just installed RHEL6. System configuration is CPU-i7 HDD-500 GB RAM-2 GB Swap- 4 GB I have installed the same software's and all the configuration as per old ...
1
vote
2answers
862 views

Top c - CPU usage >200% Will it Crash?

I would appreciate some advice from your experience. My main concern is I really REALLY do not want to cause the computer server to crash. The question is, I am running a program on a Linux computer ...
6
votes
1answer
372 views

Can I run multiple cores at different clock speeds?

I see the cores on an Intel i5 machine I'm looking at can only be run at the same clockspeed: /sys/devices/system/cpu/cpu1/cpufreq/related_cpus lists all of the CPUs. Setting cpu1's clockspeed changes ...
1
vote
2answers
938 views

How cpu works in conky

I' m trying to setup conky and I saw that I can use from cpu0 to cpu4 CPU0 ${cpu cpu0}% ${cpubar cpu0} CPU1 ${cpu cpu1}% ${cpubar cpu1} CPU2 ${cpu cpu2}% ${cpubar cpu2} CPU3 ${cpu cpu3}% ${cpubar ...
7
votes
2answers
5k views

Top and ps not showing the same cpu result

This is linked to this question. When I run top I get the following result: pid 3038 is using 18% cpu, however when running the result is 5.5%. And this number does not appear to be changing ...
2
votes
2answers
213 views

Monitor single process to logfile perodicly

Based on this question, I would like to log the performance of a specific process, with a frequency of say one second, to a csv (comma separated value) log file. Something like: ...
1
vote
1answer
1k views

Running a Snow Leopard 10.6.7 Image on an AMD: The CPU has been disabled by the guest operating system

I am quite frustrated so I have turned to this medium in hoping to get an answer. After reading thousands of forums and trying out various methods (I have lost track what I have tried already) I still ...
1
vote
2answers
2k views

How do I know which processors are physical cores?

I've got an Intel i7 2700k here, and I'd like to know how I can tell which processors are physical and which are virtual (ie: hyperthreading). I'm currently running a Conky script to display my CPU ...
1
vote
2answers
532 views

Kernel not detecting multicore cpu

Kernel Version 3.3.4-5.fc17.x86_64 CPU info: sashan@dhcp-au-122 ~ $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) ...
1
vote
1answer
667 views

Which “Processor family” to choose under “Processor type and features”?

I have recently compiled a minimal kernel for my Intel(R) Pentium(R) Dual CPU T3400 @ 2.16GHz, and chose CONFIG_MCORE2 (Core 2/newer Xeon) under "Processor type and features > Processor family" I ...
1
vote
0answers
432 views

How can a single thread use 200% CPU usage?

From the screenshot above of htop output you can see that mysql is apparently using 204% of CPU usage (this is a CentOS server with dual quad-core Intel Xeons). However only one core (8) is doing ...
2
votes
1answer
297 views

System IDLE Time > System Uptime?

I was testing out the linux api while working on something but got stuck on the following output. [Abhii@localhost net]$ cat /proc/uptime 39135.53 149657.73 As per specs the first number should be ...
3
votes
2answers
2k views

Hyperthreading not detected by Linux

Problem solved! After speaking to Dell's support they realized that I had to remove the option acpi=off from my /boot/grub/menu.1st config file. Apparently ACPI support is essential for ...
2
votes
2answers
916 views

Find the PID of top CPU/MEM usage, save to a shell variable

Is there any way to get the PID of the top CPU/MEM usage, I need to use that in a script, top command doesn't seem to work for it.
2
votes
1answer
296 views

cpufreqd does not control temperature plus shows no output

Since my laptop (an Acer Aspire 5750G running a Gentoo Linux with a not-quite-up-to-date kernel 2.6.39-r3 (a weird wLan hardware makes the update difficult)) tends to run rather hot I am trying to ...
4
votes
3answers
1k views

On Ubuntu Linux, is it normal for mandb to run continuously (apparently in the background)?

I have access to a Ubuntu Linux node at my institution. The nodes are shared among the group, but typically I am the only person who uses this particular node. I am running a calculation in parallel ...
2
votes
2answers
429 views

Putting Linux processes on certain CPU cores [duplicate]

Possible Duplicate: How can I set the processor affinity of a process on Linux? Computer CPUs have many cores insde them nowadays. I have always wondered if there is a way to, when I start ...
2
votes
4answers
6k views

How to get CPU info on a vmware guest

This is a server that is running on Vmware ESXi: SERVER:/root # cat /etc/SuSE\-release SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 PATCHLEVEL = 2 ...
1
vote
3answers
189 views

CPU or RAM better in old machine?

I'm planning to use one of two old computers as a low-volume backup server. The machine will be online and files will be backed up over ssh/rsync. I will do a minimal install of Ubuntu or Debian ...
37
votes
2answers
18k views

What do the flags in /proc/cpuinfo mean?

How can I tell whether my processor has a particular feature? (64-bit instruction set, hardware-assisted virtualization, cryptographic accelerators, etc.) I know that the file /proc/cpuinfo contains ...
3
votes
3answers
586 views

Invoking CPU Stress

Looking for an app or tool to invoke CPU usage on my virtual Linux and Unix guests. I found the app "stress" from a post on Stackoverflow, but curious what the Unix/Linux crowd would recommend.
3
votes
1answer
620 views

Do I have PCLMUL instruction set support?

Here are the flags from /proc/cpuinfo: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc ...
2
votes
1answer
2k views

CPU and core usage stats

I'm running some programs on a server and I would like to know how much % cpu I'm taking up and how many cores are being utilised by my process. To clarify, the server has 16 CPUs, all quad-core. I ...
13
votes
2answers
583 views

Is it possible to limit how much CPU power a process can take?

I'm wondering, is there way to tell a process how much processor power it can take? The problem is I'm converting video with Arista (video converter) and I'm annoyed by the fan running like crazy, ...
2
votes
1answer
200 views

Compare usage of memory by window managers

I'd like to test a few window managers to see which of them takes less memory and CPU in certain time period (so is better choice for older computers). I'd like to make the tests myself (not to read a ...
4
votes
2answers
432 views

How can we use the command 'top‘ to monitor the total CPU usage and each processor usage simultaneously?

You know that we can use the command top to monitor the real-time CPU usage and toggle the result display to the per-processor view by pressing key 1. The disadvantage of it is you can only monitor ...
5
votes
2answers
2k views

VirtualBox guest: 16 CPUs detected but only 1 online

I am running VirtualBox (using the Qiime image http://qiime.org/install/virtual_box.html) The physical hardware is a 32 core machine. The virtual machine in VirtualBox has been given 16 cores. When ...
1
vote
1answer
226 views

Make effective the changes in CPU governor plugin

I'm using Debian Testing + Xfce. I added to my panel the plugin the handle the CPU governor. My problem is that the setting that I do on the plugin interface are not made effective. Maybe because I'm ...
1
vote
1answer
1k views

How to increase Xen guest CPU utilization?

My Xen dom0 is a Gentoo x64 pvops. I boot my guest Gentoo, in PV mode, system with the same kernel my dom0 uses. When I emerge in the guest system, building a CPP package, I am experiencing low CPU ...
23
votes
1answer
2k views

High CPU usage with CFS?

I asked a previous question to try and isolate the source of an increase in CPU usage when moving an application from RHEL 5 to RHEL 6. The analysis that I did for that seems to indicate that it is ...
8
votes
1answer
3k views

Isolating cause of higher CPU usage on RHEL 6 vs RHEL 5

I'm currently looking to move our system from RHEL 5 to RHEL 6, but I've run into a snag with unexpectedly high CPU usage on the RHEL 6 machines. It appears that this may be due at least in some part ...