Bird
0
0

Why does htop show CPU usage per core separately, while top shows an average CPU usage by default?

hard📝 Conceptual Q10 of 15
Linux CLI - Process Management
Why does htop show CPU usage per core separately, while top shows an average CPU usage by default?
Atop cannot access CPU core data at all
Bhtop is designed for detailed interactive monitoring; top shows summary by default
Chtop uses a different kernel interface unavailable to top
Dtop only works on single-core CPUs
Step-by-Step Solution
Solution:
  1. Step 1: Understand design goals of htop vs top

    htop aims to provide detailed, interactive, and colorful monitoring including per-core CPU usage.
  2. Step 2: Clarify top's default behavior

    top shows average CPU usage by default but can be configured to show per-core data; it is not limited to single-core CPUs.
  3. Step 3: Eliminate incorrect options

    top can access CPU core data; both use kernel interfaces; top works on multi-core CPUs.
  4. Final Answer:

    htop is designed for detailed interactive monitoring; top shows summary by default -> Option B
  5. Quick Check:

    htop detailed per-core; top summary default [OK]
Quick Trick: htop shows per-core by design; top defaults to average [OK]
Common Mistakes:
  • Thinking top can't access core data
  • Assuming top only for single-core CPUs
  • Believing htop uses special kernel interfaces

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes