A NVIDIA GPU dashboard
Project description
GPUDashboard
A simple dashboard for NVIDIA GPU
Demo
Requirement
- Python 2.7 or 3.6
- NVIDIA-sim
- A Firebase realtime database
- Linux-like OS
Setup
- Create a Firebase Realtime database
- Set the rules to
{
"rules": {
".read": true,
".write": true
}
}
- 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"
};
- 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.
- 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"/>
- Open the "modified ViewStatus.html" with browser.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for GPUDashboard-0.2.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 544636c118505cd7cd86a8464fb3524fed57328658a138e3f45d5228fc998569 |
|
MD5 | 04e5dae936cf3c3efd7cfc3a8d27151b |
|
BLAKE2b-256 | 19507966b608d2732a9463e50c115f109d0a2917123ca04cd7445f735f84d0da |