Multi-server GPU monotoring tools
Project description
kairos-smi
Multi-server gpu monitoring program
See change Log: change log
usage: ksmi [-h] [-l] [-c CONFIG]
optional arguments:
-h, --help show this help message and exit
-l, --loop loop forever
-c CONFIG, --config CONFIG
set config file location
quick start
1. install
Install with pip
$ pip install ksmi
or
$ pip3 install ksmi
2. Setup config file
Edit config.json. Add your gpu server address in config.json.
{
"hosts": [
"<username>@<host>[:port]",
"<username>@<host>[:port]"
]
}
3. Add rsa_id to server
create new rea_id and add to your server
$ python3 -m ksmi.copy_id -c config.json -n
4. Run It!
$ python3 -m ksmi -c config.json -l
kairos-smi
usage: kairos_smi.py [-h] [-l] [-c CONFIG]
optional arguments:
-h, --help show this help message and exit
-l, --loop loop forever
-c CONFIG, --config CONFIG
set config file location
Simple usage
Run once
$ python3 -m ksmi -c config.json
Run forever
$ python3 -m ksmi -c config.json -l
utils
copy_id
usage: copy_id.py [-h] [-n] [-c CONFIG] [-s SERVER]
optional arguments:
-h, --help show this help message and exit
-n, --new_id generate new id_rsa key
-c CONFIG, --config CONFIG
set config file to use host list
-s SERVER, --server SERVER
set a server to copy id
copy id(rsa) to server
Use with config.json
$ python3 -m ksmi.copy_id -c config.json
or
$ python3 -m ksmi.copy_id --config config.json
Use with individual Server address
$ python3 -m ksmi.copy_id -s [username@]<IP>[:port]
or
$ python3 -m ksmi.copy_id --server [username@]<IP>[:port]
Make a new id_rsa
$ python3 -m ksmi.copy_id -n
or
$ python3 -m ksmi.copy_id --new_id
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 Distribution
ksmi-0.2.1.tar.gz
(4.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ksmi-0.2.1-py3-none-any.whl
(5.7 kB
view details)
File details
Details for the file ksmi-0.2.1.tar.gz.
File metadata
- Download URL: ksmi-0.2.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
753b21073a984f5c8a32f5fdab239ad3428d7eaea3f1123652855d1c2419f842
|
|
| MD5 |
9b44b2cb91fd02d162a53fa7690f72d2
|
|
| BLAKE2b-256 |
6dc7bbad7bb9e97c5ceb91e4ba3e5f3d56665710b1e84935e19f2e84c765ddcd
|
File details
Details for the file ksmi-0.2.1-py3-none-any.whl.
File metadata
- Download URL: ksmi-0.2.1-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b0c96537c61ce0f1f1acb61ccb5875fda448eb88ae0afc2de43f7f0442bae58
|
|
| MD5 |
e5190dd91a4767bfddba6e5fb142ad76
|
|
| BLAKE2b-256 |
4244c457c5a487a9a43e7ff6db45da98d92ca15f86f475b2e5e2139dfa61cc7b
|