[OpenIndiana-discuss] btop illumos/OpenIndiana port — PR up, looking for testers
Peter Tribble
peter.tribble at gmail.com
Tue Sep 22 09:12:13 UTC 2026
Alex,
Thanks for the fixes!
On Tue, Sep 22, 2026 at 2:15 AM Alex Gorouvein <agorouvein at gmail.com> wrote:
>
> On the blank CPU panel on SPARC — I don't have SPARC hardware to test
> against, so if you get a chance, `kstat -p cpu_stat:0` on that machine
> would help me see whether the counter names or layout differ from what the
> collector expects.
Ah, I see the problem. There isn't a cpu 0. That's true in general - the cpu id
doesn't have to start at 0, and the list doesn't have to be
contiguous. Especially
on SPARC, where the cpu id comes from system topology rather than being
simply enumerated. On this system, the id is the range 64-127. So the logic
that loops over 0-63 misses everything.
--
-Peter Tribble
https://www.petertribble.co.uk/ - https://ptribble.blogspot.com/
More information about the openindiana-discuss
mailing list