0
votes
1answer
24 views

Iostat and top show static resource usage on first value

For one of my projects, I need to obtain resource (CPU, I/O and disk-space) usage programatically. Currently I'm running shell commands (iostat) and parsing the results which works relatively well ...
0
votes
2answers
144 views

How to use the top command in Unix to only see process using more than 10% CPU?

I want to use top, but not see all of the processes that are using minute chunks of computing power. Can someone tell me how to use top to see things above a certain cpu % cutoff? I tried just using ...
0
votes
1answer
263 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 ...
1
vote
1answer
137 views

How to read 'top' results

I am running a software and while it is running, I want to know how much CPU usage or RAM it occupies... along with maybe other things that could be interesting. For that purpose, I need to know ...
2
votes
3answers
726 views

Kill ssh session and/or stuck processes

I'm developing with vi over ssh. My problem is that sometimes I get my ssh connection killed because of my poor wifi connection and previous processes (like "top", "rails c", etc...) are not being ...
0
votes
1answer
215 views

How does cpu speed stepping effect the cpu usage percentages reported in (for example) htop?

How does cpu speed stepping effect the cpu usage percentages reported in (for example) htop? How about the normal top? So, if my cpu is stepped down to 800mhz with a full speed of 2ghz, does 5% used ...
9
votes
4answers
4k views

Zombie process using 100% CPU

A zombie process, which should not be using any resources (RAM and CPU), is hogging up an entire core on my 8-core 64-bit Ubuntu 11.10 Desktop installation. This is the output of ps -el|grep Z: F S ...
1
vote
1answer
162 views

Is it normal to overworking of just one CPU when using openMP

When I use OpenMP in FORTRAN to parallelize a program on linux, ' top' command show me just one processor working ~%800 instead of ~%100 x 8 processors. Is it a expected situation ?
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
640 views

%CPU for a process

Looking at the output of top on our server, one of my colleagues told me that the fact that some processes got less than 100 "%CPU" was because I was running too many processes. He added that based on ...
3
votes
1answer
3k views

Cpu usage in the output of top

I am looking at the output of top. top - 16:11:19 up 31 days, 2:37, 10 users, load average: 17.01, 16.99, 17.00 Tasks: 470 total, 18 running, 452 sleeping, 0 stopped, 0 zombie ...
2
votes
1answer
4k views

average load and total %CPU in top

I thought the average load by uptime and the summation of %CPU of all running processes in top (#9 column) should agree. But it seems not true. Here is my little experiments: On one server: $ top -b ...