0
votes
3answers
57 views

Is there a Linux tool to measure simple stats of memory and processor usage for a program at runtime?

I am aware of for example the GNU profiler gprof, but I am thinking of something that can measure it on any program in a more black-box fashion where I do not have access to compiling the program ...
0
votes
0answers
46 views

efreetd keeps hogging cpu in enlightenment 17 (version 0.17.3-3)

SOLUTION AT THE BOTTOM Googling around led me to someone remarking that it posts a lot of 'sleep' messages in ~/.xsession-errors, which maybe the culprit. But I have no idea how to stop the ...
0
votes
0answers
37 views

CPU utilization taking frequency scaling into account

The CPU utilization output in tools like top, obviously, simply measure the amount of time a process has spent running on the CPU, divided by the elapsed real time. Taking this as a measure of how ...
1
vote
1answer
67 views

Why is there a lot of CPU usage on mostly IO operation?

I have a process writing binary files into ext3 filesystem. I would assume that this should be a pretty easy process on CPU, but I see 45% system CPU utilization. It's a 40-cores 80-threads server, ...
1
vote
1answer
161 views

Why does Touchegg's CPU usage increase over time?

I'm using Touchégg on Arch Linux and it functions splendidly. However, I'm noticing that as I use it, it gradually takes more and more CPU time. There are a few things to note: If I kill the ...
2
votes
2answers
32 views

Redirecting top when multiple CPU's shown

If you run top, and then press 1, it shows the breakdown of usage on each CPU. How can I redirect this to a file? I know I can do top -n 1 > process.txt but how can I get the 1 option in the ...
2
votes
2answers
311 views

Control Linux CPU load for testing

I wish to carry out some testing on a range of Linux devices to see their power consumption based on current processor load. As such I am looking for a program I can use to force the CPU to use X% ...
0
votes
1answer
243 views

Is using top a robust way of measuring system CPU usage?

I got confused while reading this question on stack overflow. The asker says: "'top' will simply not do, as there is a delay between cpu dumps, it requires 2 dumps and several seconds, which hangs ...
2
votes
0answers
322 views

Why is the kernel and the watchdogs consuming all the CPU?

I run a bunch of heavy user space processes on a powerful Xeon machine (32 virtual processors according to /proc/cpuinfo). The CPU load is normally around 30 and the machine feel responsive, but later ...
1
vote
1answer
280 views

Monitoring CPU usage of Virtualbox with top

I'm using the top command in Linux to keep a close eye on Virtualbox which is running a VM. The current CPU in the server is a Quad Core Xeon processor 3.3 Ghz and I have only assigned one core to ...
2
votes
1answer
873 views

cpu load measure with hyperthreading on linux

How can I get the true usage of a multicore hyperthreading enabled cpu? For example lets consider a 2 core CPU, expressing 4 virtual cores. A single threaded workload would now show up as 100% in ...
0
votes
1answer
170 views

Linux Load Average with CPU 1x2GHz

My load average shows 2.0 in 5 and 15 mins. My CPU is 1x2GHz, I know that 1.0 = 100% but what about GHz? Does it affect that?
5
votes
1answer
253 views

How to identify what is causing sys% in top?

top on one of hex cores with hyper threading shows the following Cpu0 : 2.3%us, 58.8%sy, 0.0%ni, 38.2%id, 0.7%wa, 0.0%hi, 0.0%si, 0.0%st Cpu1 : 4.7%us, 62.1%sy, 0.0%ni, 31.2%id, 0.7%wa, ...
1
vote
0answers
530 views

How can I use sar to track processor and memory usage?

I'm running some load tests on a application hosted on one of my server and I wanted to track the processor and memory usage over a period of time e.g. 30 minutes. I've read that I can do this with ...
2
votes
1answer
172 views

'top' output baffles me

top - 18:22:21 up 98 days, 23:26, 4 users, load average: 2.73, 2.85, 2.60 Tasks: 210 total, 1 running, 209 sleeping, 0 stopped, 0 zombie Cpu(s): 3.6%us, 2.5%sy, 0.0%ni, 87.7%id, 5.1%wa, ...
3
votes
1answer
300 views

How do I use cpulimit with ImageMagick?

I am converting (using ImageMagick) a directory of image files (using a bash for loop in shell). I notice that "convert" is taking up a large amount of CPU use (88% and up). However, If I try to ...
3
votes
0answers
410 views

Dropbox causes xorg to use 100% CPU

For some time, I noticed that my xorg process uses up between 60 and 100% of the CPU (according to top). I also noticed that interactive work becomes sluggish, even on my multi-core i7 processor. ...
3
votes
1answer
2k views

linux: per-process monitor, every 10 minutes, with history access

I really didn't know a better way to ask my question, hence you get a horribly named question. I will explain what i want to do, maybe that will help you help me. I would like to have my linux ...
1
vote
2answers
196 views

Limiting I/O activity for a specific process - Linux

I run a convert *.tif bla.pdf command sometimes with say 60 images. Now this renders my computer unusable until it finishes. I tried using nice and ionice but it did not help much. Is there a way to ...
2
votes
1answer
264 views

Display CPU usage separately (without root privileges)

I need to display the CPU usage for each processing core on a single shared-memory 12-core (SMP) machine. I don't have access to install htop, else I would simply use that. I don't need fancy graphs ...
0
votes
1answer
189 views

Decrease CPU usage or give priority

I have a i3 2nd gen system with nvidia 1GB graphics card and running ubuntu . The cpu usage becomes 99% when i run a 3D simulator and other OpenGL 2D application and i acquire the mouse movement data ...
1
vote
0answers
85 views

Backup on Debian interfering with other running programs

I've got a webserver on Debian 6. The system is also always running some processes sensitive to CPU usage. When I am using some of tools like rsync or tar, they are using CPU too much and my sensitive ...
2
votes
0answers
205 views

Why does cpu usage never reach 100%?

I have a dual-core processor. I'm running two instances of the program below: void main(){ int i; while(1){ i=i+1; } } I run TOP and CPU usage gets up to 97%, however it never ...
1
vote
1answer
173 views

Limit CPU usage KSH script

I have a KSH crawler script that crawls filesystems on my network, and i would like to limit it to 25% cpu usage, so it does not impact running systems. I am currently using nice but when i run SED, ...
1
vote
3answers
447 views

Will multicore allow the same CPU usage as multi CPU [duplicate]

Possible Duplicate: Multi-core CPU: can I say I have a 3x2.1GHz=6.3GHz CPU? I plan to buy latop with with i5-2410M processor that have 2 cores (according to spec it can also have 4 ...
4
votes
2answers
1k views

How do I see the CPU load of a server?

What is the command to see CPU load of a RedHat Linux server?
0
votes
1answer
1k views

High CPU usage by virtualbox running windows 2003 in Linux host

I'm running a windows 2003 guest in Linux xiamx-pc 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux I notice that virtualbox process constantly takes around ...
2
votes
2answers
5k views

linux migration/N high cpu consumption

on my linux appliance based on 3.0.0-14 kernel I got: RPN:/tmp# ps axuf | grep migration root 6 92.9 0.0 0 0 ? S Apr23 2788:33 \_ [migration/0] root 7 99.7 0.0 ...
1
vote
2answers
2k views

linux ' top ' get total of a user's cpu usage > 100%, with IRIX mode off

I used ' top -bn 1 -u myaccount' to monitor the summary of all the cpu usage of my account. But sometimes my log shows that the summary adds up to 160% plus. I'm quite confused, does anybody know ...
1
vote
3answers
7k views

Strange cpuinfo, how many cores does these physical cpu has?

At the end of this post is my /proc/cpuinfo. I know the Physical cpu number is 2 grep 'physical id' /proc/cpuinfo|sort|uniq|wc -l 2 But how many cores does each cpu have? The 'cpu cores' shows ...
1
vote
1answer
1k views

ffmpeg not using full CPU power

I have a Dell Precision 490 workstation, running Ubuntu 11.10, with two dual core Xeon 5160 CPUs (so 2 physical CPUs, with 2 cores each), which I am using to encode TV recordings (MPEG2) to H264 using ...
0
votes
2answers
174 views

Why the startup of a new application causes system stuttering

All modern operating system are supports multitasking. So, each running app would get a certain amount of time slice from cpu for their operation(depending on their demand). The questions is, if the ...
1
vote
0answers
238 views

Linux: X11 is using up 50% of one of my CPUs and lagging terribly

I have been running my Ubuntu Linux Machine recently on powerful hardware (much more powerful than my last machine at any rate) and I have noticed that after some time all of a sudden X11 starts to ...
6
votes
3answers
6k views

How to get I/O usage by process in Unix? [duplicate]

Possible Duplicate: Linux: Is there something similar to "top" for I/O? I am trying to do some CPU intensive operation on a Linux machine and it is showing very high load. I want ...
7
votes
2answers
6k views

How to decrease the CPU usage when running Virtual Box?

I am facing an issue with 100% CPU usage under my system when running VirtualBox. Here are some further details: My System Information: CPU 1 name: Intel(R) Pentium(R) Dual CPU T2310 @ ...
4
votes
1answer
2k views

If “top” indicates CPU is spending 10% on %wa (iowait), does that mean the CPU is idle?

I am referring to the Linux top command. If it indicates 10.4% was spent on wa, does that mean 10.4% CPU was available for other processes? top - 09:40:45 up 178 days, 34 min, 1 user, load ...
1
vote
2answers
179 views

Can I cpulimit fsck without problems?

My special laptop tends to overheat and shutdown under Linux unless I cpulimit demanding programs. Would there be a problem with using cpulimit to limit fsck? Basically, the target process, which ...
1
vote
1answer
1k views

Top is showing % CPU > 100?

top is showing several processes with CPU % greater than 100%. What does this indicate?
0
votes
1answer
844 views

disparity between `top`'s given CPU % and process CPU usage total

I've noticed that there are sometimes (large) differences between the reported total CPU usage and a summation of the per-process CPU utilization given by apps like top and wmtop. As an example: I ...
8
votes
4answers
11k views

Linux: command to know the processor number in which a process is loaded?

Is there any command in linux to figure out , given a process, which processor the process is running? I am interested in figuring out the CPU busy and CPU idle time of that processor.
15
votes
3answers
12k views

Why is the CPU usage reported by top in Linux over 100%?

I've seen the CPU usage go over 100%. How is this possible? Is it because I have four CPU cores, so 100% isn't really the max? Also, when a program does this, what else can I do in top besides using ...
1
vote
3answers
119 views

Resources of minimized programs in Linux

When a program is minimized to the taskbar in Linux does it use less resources?
2
votes
3answers
2k views

Linux program to artificially create CPU usage

Since I own one of those Centrino based Core 2 notebooks that create annoying buzzing noises when idle (= entering C3 or C4 power saving states), I'm looking for a program that creates artificial CPU ...
0
votes
2answers
574 views

100% CPU Runaway Processes (NCurses?)

This is a problem I've had for years, but just haven't posted anywhere about it until now. I'm running GRML, a Debian squeeze based Linux distro, and occasionally certain processes will runaway and ...
3
votes
3answers
6k views

Writing a CPU/RAM usage log over a period of time to file on CentOS

I'm looking for an application or line of code that would let me observe a process, save the info in a number of variables, then put the gathered info on a file. I've been trying with variations of ...
2
votes
1answer
2k views

Understanding top output in Linux

I'm trying to determine the CPU usage of a program by looking at the output from Top in Linux. I understand that %us means userspace and %sy means system/kernel etc. But say I see 100%us. Does this ...
3
votes
2answers
2k views

How to cope with runaway Flash plugin in Google Chrome browser?

I'm using Google Chrome for Linux, version 5.0.307.11 (Official Build 39572) beta with the Linux Flash plugin version 10.0 r32. Quite often, the Flash plugin goes wild and pegs the CPU with about ...
39
votes
3answers
25k views

What does load average mean in unix/linux?

If I run uptime, I get something like this: 10:50:30 up 366 days, 23:27, 1 user, load average: 1.27, 2.06, 1.54 What do those numbers on the end mean? The man page tells me it's "the load ...
9
votes
2answers
2k views

Limit CPU usage for flash in Firefox?

How can we limit the CPU usage of Flash plugins in Firefox ? I do not want to disable Flash, but I don't need to Flash objects to run at full speed either, in order to save battery power.