DEV Community

Waylon Walker
Waylon Walker

Posted on • Originally published at waylonwalker.com

4 1

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 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]"
Enter fullscreen mode Exit fullscreen mode

You will be presented with this success message.

  injected package glances into venv glances
done! ✨ 🌟 ✨
Enter fullscreen mode Exit fullscreen mode

running the webui

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

glances -w
Enter fullscreen mode Exit fullscreen mode

This will present you with the following success message.

Glances Web User Interface started on http://0.0.0.0:61208/
Enter fullscreen mode Exit fullscreen mode

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

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay