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.3.tar.gz (18.6 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.3-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gpu_server_monitor-0.2.3.tar.gz
  • Upload date:
  • Size: 18.6 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.3.tar.gz
Algorithm Hash digest
SHA256 74c2b8a80401ac0f9c07a2704ded452725f114ca5e65254adfd99aac848f58ab
MD5 15e9afa549c839fbda17b2d9784c5498
BLAKE2b-256 92352eae4332f2ad3021ff57f07285642ac081a4b41dfd385383368ddd5f06ad

See more details on using hashes here.

Provenance

The following attestation bundles were made for gpu_server_monitor-0.2.3.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.3-py3-none-any.whl.

File metadata

File hashes

Hashes for gpu_server_monitor-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9b0cd45e35428c299a92e091b1ee873fd7f0469c4d4baf8bfbf56a62029d8d3d
MD5 6b091ea27a8c46dfd760a69c7ecc9458
BLAKE2b-256 f5799e5887f9029c2794e33c43ad4d60e716dce8d7c5e552e0c4a3435a8f2fd8

See more details on using hashes here.

Provenance

The following attestation bundles were made for gpu_server_monitor-0.2.3-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