Skip to content
This repository has been archived by the owner on Aug 29, 2020. It is now read-only.

Missing CPU: Lists 7 of 8 expected #108

Open
dkrieger opened this issue Feb 9, 2019 · 5 comments
Open

Missing CPU: Lists 7 of 8 expected #108

dkrieger opened this issue Feb 9, 2019 · 5 comments

Comments

@dkrieger
Copy link

dkrieger commented Feb 9, 2019

htop shows activity on all 8 CPUs (i7 8550u)

@cjbassi
Copy link
Owner

cjbassi commented Feb 10, 2019

Is the label not showing for the 8th CPU? If so, can you check that it's not being cropped due to the window size? Can you post a screenshot? Thanks!

@dkrieger
Copy link
Author

dkrieger commented Feb 10, 2019

gotop

using gnome-terminal on gnome 3.30.2 (wayland) @ 1440p w/ 1.2 font scaling (tested after screenshot w/ no font scaling, same result). Worth noting that running gotop in a VM running sway on arch (using termite) on this machine shows 8 cpus, and that was with the display set to 1080p.

@dkrieger
Copy link
Author

dkrieger commented Feb 10, 2019

... after trying it in a different terminal and yanking that region when running within vim, I've confirmed the 8th CPU is displayed w/ the background color, making it invisible. I'm using the bog-standard gnome-terminal solarized colorscheme. Perhaps a more conservative foreground colorscheme option would help? I noticed (less extreme) readability issues in the VM as well.

Edit: On a related note, it looks great when specifying the solarized colorscheme! From a usability perspective, I guess I'd recommend limiting the default color palette, leaving it to ricers to create an alias w/ their preferred "rich" colorscheme.

@cjbassi
Copy link
Owner

cjbassi commented Feb 11, 2019

That's interesting. So the default gotop colorscheme only uses like the first 8 basic xterm colors, but it looks like your terminal solarized colorscheme is modifying those to look different. The 8th cpu line is xterm color 8 which is grey but it looks like its being changed into the solarized background color. Also, the swap line is supposed to be yellow but it looks grey in the screenshot, stuff like that.

So should we change anything in gotop? If gotop's solarized colorscheme is working for you then I would say just use that :D

@syslino
Copy link

syslino commented Jun 6, 2019

Hi, I've got a very similar issue. I've got an Intel i5-5200U which should report 4 CPU's – and does so in any other monitor application. With gotop Im getting only three CPU's shown.
I'm on Arch Linux, using termite. I tried to yank the output in a nvim terminal-buffer but still – three CPU's shown (index starting at 0).

Edit: No colorscheme does work for me..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants