Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I attached 2 photos.

The first with threads view. The second without.

How come in the second it shows only 100 cpu usage, while in the first when you combine all threads cpu usage it's a much more bigger number? top command with Treads

top command without Treads

share|improve this question

migrated from stackoverflow.com Feb 11 '13 at 12:31

This question came from our site for professional and enthusiast programmers.

2  
How many cores does your CPU have? –  jazzbassrob Feb 11 '13 at 9:43
    
you have to multiply cpu usage by number of cores. –  tigran Feb 11 '13 at 9:49
    
about CPU: 4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each) –  user502967 Feb 11 '13 at 10:03
    
tigran, i didnt understand your point :) –  user502967 Feb 11 '13 at 10:04
    
3100% CPU? ... Java does it again! | @User/OP: It's a bug and nothing more. –  Shiki Feb 11 '13 at 12:39

1 Answer 1

How come in the second it shows only 100 cpu usage, while in the first when you combine all threads cpu usage it's a much more bigger number?

I think the answer is that either your top command is broken, or it is incompatible with your Linux kernel. The "%CPU" numbers for the "thread" view are simply nonsensical.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.