Glances Install on Proxmox 9.0
Glances Install on Proxmox 9.0
Glances: a cross-platform system monitoring tool. Written in Python, Glances will run on almost any plaftorm : GNU/Linux, FreeBSD, OS X and Windows.
To install Glances on Proxmox 9, follow these steps:
Run the following commands in the Proxmox shell:
Install pipx
1
apt install pipx
Install Glances using pipx:
1
pipx install 'glances[all]'
This installs Glances into /root/.local/bin/, which is the default location for pipx installations.
Create a systemd service file to manage Glances:
1
nano /etc/systemd/system/glances.service
Add the following content:
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=Glances Monitoring Tool
After=network.target
[Service]
ExecStart=/root/.local/bin/glances -w -u glances
Restart=always
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
Save and exit the file (Ctrl+X, then Y, then Enter).
Enable and start the service:
1
2
3
systemctl daemon-reload
systemctl enable glances.service
systemctl start glances.service
Verify the service is running:
1
systemctl status glances.service
Glances will now start automatically on boot and be accessible via the web interface at http://your-proxmox-ip:61208.
This post is licensed under
CC BY 4.0
by the author.
