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)

2
votes
1answer
24 views

Is there a brief way to view the top resource usage(CPU, memory or even bandwidth) of a program after its running?

I know I can use top to view the overall real-time CPU & Memory usage, and nload for overall real-time bandwidth usage. But I wish to view the maximum(or average) CPU, Memory, & bandwidth ...
0
votes
1answer
13 views

Kernel panic – not syncing: Fatal machine check on current CPU

In the latest few weeks, my machine rebooted a few times with this kernel panic error. It's a fedora 21, Linux 4 machine on an AMD E-350 APU. I didn't observe any pattern. When I reboot, the BIOS ...
4
votes
0answers
28 views

Kernel - Measuring the rate of timer interrupts

I am working on optimizing kernels of my boxes for telephony, which involves (among other things) adjusting the HZ rate and the preemption model. Initially the kernel was compiled with the default ...
0
votes
1answer
23 views

Use NVIDIA graphic card as regular resource

I don't use my graphic card anymore, but it is still laying there, idle. Is there a way I can turn it back on and use it just a regular, additional CPU/RAM for my laptop?
1
vote
0answers
21 views

how practical the number of cores in Android

I've often wondered how practical the cores usage in Android smartphone. I'm asking here because Android is based on Linux. I'm looking from technical perspective. The articles that I've read so far ...
0
votes
3answers
54 views

Store CPU utilization into CSV file

OS: Debian 8 x64 I'd like to log every 5 seconds the CPU percentage into a CSV file in the format below: YYYY-MM-DD HH:MM:SS,CPU% I'm not familiar with how to use the top program to calculate the ...
0
votes
0answers
36 views

Change system properties(name) under linux

Sorry for the title if is not clear. What I wondering can I change somehow under linux( ubuntu / redhat ) the name of processor like in windows by registry edition? What I mean is currently when I ...
1
vote
2answers
705 views

Why I can not use all the 100% potential of CPU?

I am using my computer clusters to run a MD C program but I can not use full potential of those clusters. But the this node have 16 CPUs and I also only give 15 jobs for those CPUs. But I can not ...
0
votes
2answers
82 views

Difference between two linux machines

I have two machines and I am trying to see which one is more powerful machines. I can check memory and cpu but not sure how to understand other things from lscpu: Here is machineA "lscpu" result: ...
0
votes
1answer
11 views

Relation between Interface Speed and Processing times

i have a question regarding processing time delays, i want to know is there a relation between the rate of data packets received and their processing time at the receiving host or is the processing ...
2
votes
1answer
31 views

Set CPU affinity for the specific program?

How can I set CPU affinity for the specific program (say gzip) to always run on specific core or cores (core 1, for example)? I read about taskset, but can it be used before program is actually used ...
1
vote
1answer
32 views

Threads vs interrupts

What does it mean when threads are time-sliced? Does that mean they work as interrupts, don't exit while routine is not finished? Or it executes one instruction from one thread then one instruction ...
1
vote
3answers
127 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 ...
0
votes
2answers
56 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
7 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
20 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
43 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
33 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
32 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 ...
2
votes
1answer
49 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
75 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
40 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
168 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
94 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
72 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
59 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
57 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
42 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
47 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
517 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
29 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
42 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
101 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
56 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
63 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)?
5
votes
0answers
111 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
56 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
66 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
121 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
150 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
55 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
366 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
92 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
66 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
183 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
67 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
59 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
1answer
65 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
67 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
57 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 ...