Skip to main content

GPU cluster monitoring service

Project description

GPU Monitor

GPU Monitor is a browser-based tool for checking GPU usage across multiple servers. Configure your servers, start the web service, and open the page to see GPU memory usage, utilization, and active compute processes.

Preview

GPU Monitor screenshot

What It Is For

  • Check whether GPUs are currently available across multiple servers.
  • View GPU memory usage and utilization.
  • See which users and processes are using GPUs.
  • Keep the last successful data visible when a server is temporarily unreachable.

Requirements

Before using GPU Monitor, make sure you have:

  • Python 3.11 or newer installed.
  • SSH access from this machine to the servers you want to monitor.
  • NVIDIA drivers installed on the target servers.
  • nvidia-smi available on the target servers.

You can verify SSH and GPU access with:

ssh server-a nvidia-smi

Replace server-a with your own SSH host name or server address.

Installation

Install GPU Monitor from PyPI:

python -m pip install gpu-server-monitor

If python is not the command for your Python environment, replace it with the interpreter you normally use.

Server Configuration

Create a configuration file:

gpu-monitor init -c ./config.toml

Edit the generated TOML file and add the servers you want to monitor.

The recommended approach is to keep connection details in your normal SSH config file, such as ~/.ssh/config on Linux/macOS or %USERPROFILE%\.ssh\config on Windows:

Host server-a
    HostName 10.0.0.11
    User your_username
    Port 22
    IdentityFile ~/.ssh/id_rsa

Then the GPU Monitor configuration only needs the SSH host name:

poll_interval_seconds = 20

[[servers]]
Host = "server-a"

You can also put connection details directly in the GPU Monitor configuration:

poll_interval_seconds = 20

[[servers]]
Host = "server-b"
HostName = "10.0.0.12"
User = "your_username"
Port = 22
IdentityFile = "~/.ssh/id_rsa"
ConnectTimeout = 5

To monitor more servers, add more [[servers]] blocks.

Running

Run GPU Monitor with:

gpu-monitor run -c ./config.toml -H 127.0.0.1 -p 8000

Then open this address in your browser:

http://127.0.0.1:8000/

Troubleshooting

No servers appear on the page

Check that the TOML file passed to -c contains at least one [[servers]] block and that each Host value is spelled correctly.

A server cannot be reached

First test the connection from your terminal:

ssh server-a nvidia-smi

If this command fails, fix the SSH login, key, port, or network issue first.

Configuration changes do not appear

Restart GPU Monitor after editing the configuration file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpu_server_monitor-0.2.2.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gpu_server_monitor-0.2.2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file gpu_server_monitor-0.2.2.tar.gz.

File metadata

  • Download URL: gpu_server_monitor-0.2.2.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gpu_server_monitor-0.2.2.tar.gz
Algorithm Hash digest
SHA256 4028a3639f2f3e106b3ade9fa2733cdc9722fa419f47ac0f0654a5a10cdb8299
MD5 e4d9b1d21e2ceddf42c9ba95d5f30a22
BLAKE2b-256 7f804d2bbe412411ee5714642b2d07977da8ee5d6f91479d7738c501ad204150

See more details on using hashes here.

Provenance

The following attestation bundles were made for gpu_server_monitor-0.2.2.tar.gz:

Publisher: publish.yml on NingChenTHU/gpu-monitor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gpu_server_monitor-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for gpu_server_monitor-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 605ee5dd16a18b7d902e67347736cfcd5ca89725d0907057efa67345e89f60e1
MD5 d0eecdafade25bc580806b63fe853ebc
BLAKE2b-256 bdf63a4958af4f4c8aa9bc5264ae2210fdb57a61df2821426cd31a47422ca97d

See more details on using hashes here.

Provenance

The following attestation bundles were made for gpu_server_monitor-0.2.2-py3-none-any.whl:

Publisher: publish.yml on NingChenTHU/gpu-monitor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page