Skip to main content

A NVIDIA GPU dashboard

Project description

GPUDashboard

A simple dashboard for NVIDIA GPU flowchart

Demo

Example

Requirement

  • Python 2.7 or 3.6
  • NVIDIA-sim
  • A Firebase realtime database
  • Linux-like OS

Setup

  1. Create a Firebase Realtime database
  1. Set the rules to
{
  "rules": {
    ".read": true,
    ".write": true
  }
}
  1. Go to Project overview click Add Firebase to your web app and copy following part.
  var config = {
    apiKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXX",
    authDomain: "XXXXX.firebaseapp.com",
    databaseURL: "https://XXXXXX.firebaseio.com",
    projectId: "XXXXXXX",
    storageBucket: "XXXXXXX.appspot.com",
    messagingSenderId: "XXXXXXXXXXX"
  };
  1. On the servers that have NVIDIA GPU(s) installed.
pip install GPUDashboard
GPUDashboard -n your_server_name -i 20 -u your_databaseURL > GPUDashboard.log 

# your_server_name is the name you want to give your server e.g. MyFirstServer
# -i is the interval of GPU information updating
# your_databaseURL is the databaseURL obtained froom Firebase as shown above

Now, the server GPU information is post to the firebase. *If you have many servers, all of them can make use of the same database you created in Firebase. You only need to specify different names for "your_server_name" when you start the GPUDashboard in the command line on the different servers.

  1. Download ViewStatus.html and open with text editor then replace the "config".
<html>
    <header>
      <script>
        var config = {
            apiKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            authDomain: "XXXXX.firebaseapp.com",
            databaseURL: "https://XXXXXX.firebaseio.com",
            projectId: "XXXXXXX",
            storageBucket: "XXXXXXX.appspot.com",
            messagingSenderId: "XXXXXXXXXXX"
          };
      </script>
      <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"/>
  1. Open the "modified ViewStatus.html" with browser.

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

GPUDashboard-0.2.8.tar.gz (7.6 kB view details)

Uploaded Source

File details

Details for the file GPUDashboard-0.2.8.tar.gz.

File metadata

  • Download URL: GPUDashboard-0.2.8.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.25.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/2.7.15

File hashes

Hashes for GPUDashboard-0.2.8.tar.gz
Algorithm Hash digest
SHA256 76d76205d36fae905215facd014779807785263b3f74b9590178235147e5caf3
MD5 aa93a672576374a5c2b053c680626ef8
BLAKE2b-256 ceb58492a7ca64d30e0378619e6cdd8f55dbc90f9b3e209c1c7b8b72a91cdf11

See more details on using hashes here.

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