Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 15 23:41
    GabrielSturtevant opened #1928
  • Sep 09 20:25
    nicolargo closed #1926
  • Sep 09 20:24
    nicolargo milestoned #1926
  • Sep 09 20:24
    nicolargo labeled #1926
  • Sep 09 20:23

    nicolargo on develop

    Update debian image to include … Merge pull request #1927 from z… (compare)

  • Sep 09 20:23
    nicolargo closed #1927
  • Sep 08 23:55
    zmanji edited #1927
  • Sep 08 23:53
    zmanji edited #1927
  • Sep 08 23:53
    zmanji edited #1927
  • Sep 08 23:53
    zmanji edited #1927
  • Sep 08 23:53
    zmanji edited #1927
  • Sep 08 23:52
    zmanji opened #1927
  • Sep 08 23:49
    zmanji edited #1926
  • Sep 08 23:45
    zmanji opened #1926
  • Sep 08 11:55
    Inrego opened #1925
  • Sep 04 15:01

    nicolargo on glancesv4

    Add README.rst for plugins and … (compare)

  • Sep 04 14:46

    nicolargo on glancesv4

    Refactor exports modules loading (compare)

  • Sep 04 07:40

    nicolargo on glancesv4

    Refactor CPU Curses code Refactor Mem + MemSwap Curse Merge branch 'develop' into gla… (compare)

  • Sep 04 07:39

    nicolargo on glancesv4

    Remove future dep Plugin sensors and main plugin … (compare)

  • Aug 30 18:04
    tmanok closed #1919
Matt Hiscock
@matyhaty
@steschuser steschuser - how can you do that within glances, do you know
shantkarm
@shantkarm
Hi how can i get the status of a specific process through the API
?
steschuser
@steschuser
@matyhaty
Have you checked the documentation at https://glances.readthedocs.io/en/latest/aoa/amps.html
Looks like you can define commands there, that will be run by glanes
shantkarm
@shantkarm

thank you :) btw i have a raspberry pi with ds18b20 sensors. when i ran glances directly on the pi it was able to get the sensor's information.. however, now its running on docker and they are not visible. how can i get ds18b20 1-wire sensors ve visible in glances through a docker enviornent?

thank you :)

Pedro Lopez Slevin
@plshazer
Hi
does anyone know how to secure with user and password glance installed in console mode with: $ docker run -d --name=Glances --restart="always" --network=host -e GLANCES_OPT="-w" -v glances_config:/glances/conf -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host docker.io/nicolargo/glances
skaface
@skaface
Hi, I am using glances on a 32 core dual cpu system, and the sensors plugin has multiple sensors with the same name, and when one sensor reaches a temperature limit and highlites, all of the other sensors with the same name highlite as well, even though they are below the defined temperature
i am using glances v3.1.5 with psutil v5.7.2 on arch linux
rthawkcom
@rthawkcom
curl -L https://bit.ly/glances | /bin/bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 167 100 167 0 0 82 0 0:00:02 0:00:02 --:--:-- 82
100 5321 100 5321 0 0 1395 0 0:00:03 0:00:03 --:--:-- 5191
Detected system: Ubuntu
sudo apt-get install -y python-pip python-dev python-docker gcc lm-sensors wireless-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python-dev-is-python2' instead of 'python-dev'
E: Unable to locate package python-pip
E: Unable to locate package python-docker
Fabrício José Vieira Ceolin
@fabceolin
How to sort by process swap usage?
cult-hero13
@cult-hero13
Has anyone experienced a certain behavior, when running in browser mode, that when selecting a server, the cursor just scrolls to the bottom of the page, jumps back to the top, scrolls to the bottom, etc. No server data is actually shown. All servers have glances 3.1.5 installed, and are running on a mix of Debian 9 and 10. Glances on all were install via pip.
cyr0nk0r
@cyr0nk0r
How can I leverage the CPU process filter to filter multiple processes instead of just one?
.python. works fine .. but what if I want any process with python OR mysqld ?
.python|mysqld. is a valid regex, but doesn't work. Is this supported?
patrcoil
@patrcoil
I recently installed Glances which does a great job! Unfortunately, I cannot select processes with UP and DOWN arrows as mentioned in all documentations. Thus impossible to use key k to kill processes, do somebody known how to fix the issue? I am using Ubuntu 20.04
cyr0nk0r
@cyr0nk0r
so is this chat even monitored at all? It's been 12 days with no response. How are you supposed to get support on this?
patrcoil
@patrcoil
THX, you made some kind of answer ;)
patrcoil
@patrcoil
BTW, did you succeed in selecting and killing processes with k?
mkanet
@mkanet_twitter
Does anyone have any tips to increase general Glances API performance on Windows 10? performance isn't very good when making too many concurrent REST calls to Glances. Some requests take several seconds for the server to provide a response (if there's already a pending request). Other times, it's instant. I'm using the command: "python.exe glances-script.py -w -0 -q -t 8 --cached-time 8". Is there a way to increase the number of process threads used by the glances API; or, something similar? Would it help to use the pre-compiled glances.exe that comes with the module instead of using glances-script.py?
Glances is only using 16% of my quadcore 2.4Ghz CPU approximately every 8 seconds
tomshort-si
@tomshort-si
Hi all, I'm unable to find a way to convert the response to something similar to when I curl. The endpoint in question is "/api/3/cpu/total" and the content is "b'x\x9c\xabV*\xc9/I\xccQ\xb2R0\xd43\xa8\x05\x00#\x1d\x04J'". Converting from bytes to string still isn't the expected output. I think this is something to do with the "deflate" encoding but I can't find a way to inflate (if that's the correct phrase)
tomshort-si
@tomshort-si
@mkanet_twitter If you're making lots of requests from the same client then you could always just call /api/3/all and sort through the response
RobertoMilani
@RobertoMilani
Hi all, I successfull installed glances under Windows Server and web consolle works great! But... calling api if I must use f.i. /api/3/mem to obtain correct JSON values, instead if I use f.i. /api/3/mem/free I obtain a binary stream like response... (something like "x��VJ+JMU�R06200017546��?�h") How I can solve it?
RobertoMilani
@RobertoMilani

Hi all, I successfull installed glances under Windows Server and web consolle works great! But... calling api if I must use f.i. /api/3/mem to obtain correct JSON values, instead if I use f.i. /api/3/mem/free I obtain a binary stream like response... (something like "x��VJ+JMU�R06200017546��?�h") How I can solve it?

I've discovered that using Postman and deselecting Accept-Encoding gzip, deflate, br as request header, now I can obtain correct JSON response!!!
{
"free": 31972978688
}

tomshort-si
@tomshort-si
@RobertoMilani That's exactly the same issue I'm having! If you print response.content it's more readable but definitely not the expected output
RobertoMilani
@RobertoMilani
@tomshort-si I've solved on "laboratory side" using a Postman call and using Accept-Encoding (as request header option) set to "gzip" only without "deflate". Now, I'm trying to "put all togheter" and make glances integration usable through openVpn and reverse proxy inside Home Assistant. I partially solved doing REST call integration, but the "glances" integration is better.
tomshort-si
@tomshort-si
@RobertoMilani thank you so much! that's solved it for me. Good luck mate
RobertoMilani
@RobertoMilani
@tomshort-si I've just discovered that inside nginx reverse proxy all works fine putting inside config:
proxy_set_header Accept-Encoding "gzip";
mkanet
@mkanet_twitter
@tomshort-si thanks for the tip. That was the first thing I tried. However, the software I'm using "Home Assistant" doesn't allow me to parse all the data in one shot "yet". I'm guessing from your answer, there aren't glances settings/configurations that would help optimize the multitasking performance of Glances.
Moonship
@Moonship8_twitter
hi
installed
tried web server mode
but the ip:61208
which i try to open it
shows me that connection cannot be established
tomshort-si
@tomshort-si
@Moonship8_twitter check the firewall
FastThenLeft
@FastThenLeft
@nicolargo The wiki said to post issues here to help. So, here goes:
In the documention (Interactive Commands) https://glances.readthedocs.io/en/latest/cmds.html
It shows "k" is "Show/hide TCP connections". It should be capital "K". Also, "K" isn't in the interactive help screen in the app.
FastThenLeft
@FastThenLeft
@nicolargo In the documentation (Interactive Commands) https://glances.readthedocs.io/en/latest/cmds.html
It shows "Q" is "Show/hide IRQ module". That doesn't work in V3.1.6.2. That command also isn't listed in the interactive help screen in the app.
Quantumrider
@quantumrider_:matrix.org
[m]
Hi, just want to let you know, Glances reading temps on Asrock 4x4 box 4800u are off the charts, perhaps there's a multiplier someplace or something needs calibration for this one
Quantumrider
@quantumrider_:matrix.org
[m]
Well, I was mining monerod, just stopped it, will wait as temps are coming down, perhaps it was accurate?
quantumrider_
@quantumrider_:matrix.org
[m]
I rebooted, bios reported 47f just started glances, glances shows 122
Quantumrider
@quantumrider_:matrix.org
[m]
Temps in Celsius look like correct f temps....
Zhaorui Zhang
@zhaorui_zhang:matrix.org
[m]
hi, I have a question and the export csv file, could you please kindly help to explain it? when I export the csv file, I don't know the unit for network__rx? it's the speed based on b/s, or **B/s, or any other? thanks for your help
kaspa
@kaspa_deals_twitter
Ubuntu 20.04.2 LTS
Glances v3.1.6.2 with PsUtil v5.5.1
when i run glances in terminal, only then email notifications are sent
is there a way to run glances process in background?
msg
@MarioSuarez_o_0_twitter
Hi everyone. Is there a compatibility problem between versions? I have 5.5.1 on the server and 5.0.1 on some of my clients and I can't access them. The problem is that I cannot update the clients. Is there any solution? Thks
Christian Luis
@christianLuis

Hi everyone, did you ever run into SSL Routines errors with Influxdb? I'm installing and configurating glances via script on two ubuntu 20.04 cloud servers. One is provided by hetzner and one by digitalocean. The hetzner server starts glances and sends data to influxdb cloud. digitalocean only gives me an error in the logs: ("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])",)

Could that be a bug? The fresh started cloud instances shouldn't differ, right?

aadewojo
@aadewojo

Hi,

I am using glances API to retrieve some plugin values, however I am struggling to get values from the network interface.

I use the following to retrieve the network data:

curl http://locahost:61208/api/3/network/interface/ens2

I get the following result:
{"ens2": [{"time_since_update": 60.294524908065796, "cx": 351345, "is_up": true, "key": "interface_name", "speed": 68718428160, "tx": 246733, "cumulative_rx": 1001275087, "rx": 104612, "cumulative_cx": 3299504830, "cumulative_tx": 2298229743, "interface_name": "ens2"}]}.

Please how do I get individual values like tx and rx? Also, how do I get the units in which they are measured?

Could you please enlighten me on what unit tx, rx and time_since_update are?

Richard Tirtadji
@ranrinc
hi
anyone know how I can install glances on debian 11