Red Hat Bugzilla – Bug 58817
top does not toggle I mode
Last modified: 2007-04-18 12:39:12 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (WinNT; U)
Description of problem:
I is meant to toggle between individual CPU stats and summary CPU stats. Top however only ever shows the individual CPU stats.
This only effects SMP machines.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run top on an SMP machine
2. press 'I'
3. see that nothing happens
Actual Results: CPU0 states: 98.1% user, 1.2% system, 98.2% nice, 0.0% idle
CPU1 states: 100.0% user, 0.1% system, 100.0% nice, 0.0% idle
CPU2 states: 91.0% user, 9.0% system, 16.4% nice, 0.0% idle
CPU3 states: 100.0% user, 0.1% system, 100.0% nice, 0.0% idle
Expected Results: CPU states: 2.0% user, 1.6% system, 0.0% nice, 96.2% idle
No. I toggles between IRIX and solaris mode. Comment in the code:
* If in Sun-mode, adjust cpu percentage not only for
* the cpu the process is running on, but for all cpu together.