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
kmh-gpu-monitor-0.2.3.tar.gz
(5.4 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
File details
Details for the file kmh-gpu-monitor-0.2.3.tar.gz.
File metadata
- Download URL: kmh-gpu-monitor-0.2.3.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e2d29f794eec3a028dee3028d28048bcc3bac1177d4584dddb2d11f5df6131e
|
|
| MD5 |
ce570ff3398ea0fa36fdd10cbc8b9cf0
|
|
| BLAKE2b-256 |
dc927696e777c40f38e7520f4447c3b84fd718858f8cbe82be442bc039194cfa
|
File details
Details for the file kmh_gpu_monitor-0.2.3-py3-none-any.whl.
File metadata
- Download URL: kmh_gpu_monitor-0.2.3-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
166c62055414c10d681dd734c002f16a42aadc42ef6cbaa77699877eb89cb1b9
|
|
| MD5 |
103f1c95a87f34996a855ecc574d5238
|
|
| BLAKE2b-256 |
88d6d725257dba4d63f628cbf679ec70dfebaf4b5ff0f6bbe42d2a4973f3d5cb
|