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.
Metadata
Release files for gpu-monitor-isi 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gpu-monitor-isi-0.0.5.tar.gz | 6.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gpu_monitor_isi-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.1 kB
Release files / gpu-monitor-isi-0.0.5.tar.gz
| Download URL | gpu-monitor-isi-0.0.5.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb8a9bd1a6618701783b958cf8f1d2f1d467b9be8eff5b8603cda863b5b74637
|
|
BLAKE2b-256 checksum How to use checksums |
c656dfee676b17d845a99e99016c1e45c682fe9c8ae7bfd636f8b5d7ad1eccf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / gpu_monitor_isi-0.0.5-py3-none-any.whl
| Download URL | gpu_monitor_isi-0.0.5-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8a681f20ad76f637ce16e858290c4d5228b619ff0aa0eb54b3bb55d33da6a335
|
|
BLAKE2b-256 checksum How to use checksums |
eba9b63f1678e62c2a67c9f3d5c7eb6467e57dae3a2cc3ce9f44a98f76759407
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|