Skip to content

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

Closed
@Blackinator

Description

@Blackinator

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions