Glances webui with pipx

Glances has a pretty incredible webui to view system processes and information like htop, or task manager for windows.

The nice thing about the webui is that it can be accessed from a remote system. This would be super nice on something like a raspber…


This content originally appeared on DEV Community and was authored by Waylon Walker

Glances has a pretty incredible webui to view system processes and information like htop, or task manager for windows.

The nice thing about the webui is that it can be accessed from a remote system. This would be super nice on something like a raspberry pi, or a vm running in the cloud. Its also less intimidating and easier to search if you are not a terminal junky.

install

You will need to install glances to use the glances webui. We can still use
pipx to manage our virtual environment for us so that we do not need to do so
manually or run the risk of globally installed package dependency hell.

pipx install glances pipx inject glances "glances[web]"

You will be presented with this success message.

  injected package glances into venv glances
done! ✨ 🌟 ✨

running the webui

Now that you have glances installed you can run it with the -w flag to run the webui.

glances -w

This will present you with the following success message.

Glances Web User Interface started on http://0.0.0.0:61208/

Open it in your browser

Now that its running you can open your web browser to localhost:61208 and be presented with the glances webui.

running the glances webui on my system

Links


This content originally appeared on DEV Community and was authored by Waylon Walker


Print Share Comment Cite Upload Translate Updates
APA

Waylon Walker | Sciencx (2022-02-20T15:17:22+00:00) Glances webui with pipx. Retrieved from https://www.scien.cx/2022/02/20/glances-webui-with-pipx/

MLA
" » Glances webui with pipx." Waylon Walker | Sciencx - Sunday February 20, 2022, https://www.scien.cx/2022/02/20/glances-webui-with-pipx/
HARVARD
Waylon Walker | Sciencx Sunday February 20, 2022 » Glances webui with pipx., viewed ,<https://www.scien.cx/2022/02/20/glances-webui-with-pipx/>
VANCOUVER
Waylon Walker | Sciencx - » Glances webui with pipx. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/02/20/glances-webui-with-pipx/
CHICAGO
" » Glances webui with pipx." Waylon Walker | Sciencx - Accessed . https://www.scien.cx/2022/02/20/glances-webui-with-pipx/
IEEE
" » Glances webui with pipx." Waylon Walker | Sciencx [Online]. Available: https://www.scien.cx/2022/02/20/glances-webui-with-pipx/. [Accessed: ]
rf:citation
» Glances webui with pipx | Waylon Walker | Sciencx | https://www.scien.cx/2022/02/20/glances-webui-with-pipx/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.