multiple-cpu aware procps Top

Denys Vlasenko vda.linux at googlemail.com
Thu Sep 25 10:47:39 UTC 2008


On Fri, Sep 19, 2008 at 3:13 AM, Vineet Gupta <vineetg76 at gmail.com> wrote:
> On Thu, Sep 18, 2008 at 4:47 PM, Denys Vlasenko <vda.linux at googlemail.com>
> wrote:
>> > ===========================
>> > The summary of changes is:
>> > ===========================
>> >
>> > 1. Process List output has an additional column "cpu" which reports last
>> > CPU
>> > the process was found running on (when /proc sample was taken). This can
>> > come in handy to observe
>> > the effects of calls such as sched_setaffinity( ) which can pin a task
>> > to a
>> > set of CPU(s). New Config option ENABLE_FEATURE_TOP_SMP_PROCESS
>> >
>> > 2. CPU Utilization reporting per CPU. There is a toggle "1" to display
>> > the
>> > regular output which is aggregate of all CPUs) vs a  per CPU line. New
>> > Config option ENABLE_FEATURE_TOP_SMP_CPU
>> >
>> > Please consider applying the attached patch.
>>
>> Please use only tabs for indentation, the patch you attached
>> has it mixed (tabs/spaces):
>
> Sorry for the goof up. Find attached the patch with consistent Tabs
> (hopefully I've taken care of all of them) and some minor comment changes.

Some fixes were needed: CPU printing code could overflow the screen, etc.

Applied, thanks.
--
vda



More information about the busybox mailing list