Re: two major changes to top
Craig Small <[email protected]> Thu, 28 May 2020 21:07:10 +1000
| Newsgroups | gmane.linux.procps.devel |
|---|---|
| Message-ID | <CALy8Cw6b87wsEk+4jB2EyoBBvQTN8xyX4wr=NB4CVAQekn4xgA@mail.gmail.com> |
Hi Jim,
Both of those are quite neat, even on an 8-CPU system like mine,
hopefully, someone out there has something bigger. Two comments about
it.
The settings don't save. I'm not sure if this was intentional or not,
but the '1' setting saves but '4' and '!' do not.
The man page I had to read this a few times:
For example, with the first press of `!' one adjacent
cpu will be combined and displayed as `0-1, 2-3, ...' instead of the
normal `%Cpu0, %Cpu1, %Cpu2, %Cpu3, ...'. With a second `!' command
toggle two adjacent cpus are combined and shown as `0-2,
3-5, ...'. Then the third '!' press, combining four adjacent cpus,
shows as `0-4, 5-7, ...', etc.
I get what it's saying now but at first, I was going "two adjacent
cpus.. but 0-2 is three cpus". You meant 0 is the primary one and
joins up with its buddies 1 and 2 (one main, two adjacent is three).
I was kind of expecting the group size would double so one cpu total,
two cpu total, four cpu total etc for each ! command.
It's a minor thing and comes down to how its interpreted but thought
you'd like to know.
- Craig