Skip to content

[WEBUI] Irix mode (per core instead of per CPU percentage) not togglable #3158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Blackinator opened this issue Apr 21, 2025 · 4 comments
Closed

Comments

@Blackinator
Copy link

Is the Irix/Solaris mode toggle supported in webserver mode? I currently cannot get it to work.
I've tried:

  • setting -0 or --disable-irix in the GLANCES_OPT env variable for the Docker container
  • pressing '0' in the browser with the webui open
  • using a few different versions of the Docker image: latest, latest-full, dev and ubuntu-latest-full

I did verify that the mode can be disabled if I run glances as a standard command, through the console inside the container. Pressing '0' works as a toggle, and passing -0 or --disable-irix as an argument works to disable the mode on launch.

I'm currently running glances through Docker on Alpine Linux. In case it's pertinent, here's the docker-compose.yaml file I'm running:

services:
  glances:
    image: nicolargo/glances:latest-full
    container_name: glances
    restart: unless-stopped
    pid: host
    privileged: true
    volumes:
      - ${DOCKER_HOST_PATH}:/var/run/docker.sock
      - /etc/os-release:/etc/os-release:ro
      - ~/.cont_data/glances/glances.conf:/etc/glances/glances.conf
    environment:
      - "GLANCES_OPT=-w --disable-irix"
    network_mode: host

I did look around to see if there was a mention of this toggle specifically not being implemented in webservice mode and couldn't see any, although it's absolutely possible I may have missed something. Apologies in advance if I turns out I just can't read XD

@nicolargo nicolargo added the bug label Apr 22, 2025
@nicolargo nicolargo added this to the Glances 4.3.2 milestone Apr 22, 2025
@nicolargo nicolargo changed the title Irix mode (per core instead of per CPU percentage) not togglable in webserver mode [WEBUI] Irix mode (per core instead of per CPU percentage) not togglable Apr 22, 2025
@nicolargo
Copy link
Owner

Hi @Blackinator

it's completely true. The current version of the WebUI did not support the Irix option.

It will be corrected in the next millestone.

Thanks for the head up !

Nicolas

@Blackinator
Copy link
Author

Thanks, I appreciate the response!

@nicolargo
Copy link
Owner

Implementation done on the develop branch.

@Blackinator Any chance to test it on your side ?

@Blackinator
Copy link
Author

Blackinator commented Apr 27, 2025

Hi, thanks for the quick work!

It works great! The '0' key works and the command line arguments are working as well, both in webserver mode. I did think I was going crazy at first, as the newest dev Docker image seemed to exhibit the same behaviour as before, but I went and installed from the develop branch in this repo (which is basically what you said, so it's now confirmed I cannot read XD) using pip, and all was good.

Oh, and I almost forgot to mention, I tested both the dev Docker image and the develop branch after resetting the browser cache for the site.

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

No branches or pull requests

2 participants