Metadata-Version: 2.0
Name: ksmi
Version: 0.1.0
Summary: Multi-server GPU monotoring tools
Home-page: https://github.com/kairos03/kairos-smi
Author: Eunseop Shin
Author-email: kairos9603@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# kairos-smi
multi-server gpu moniroting program

![sample.png](img/sample.png)

```
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
```

# quick start

## 1. Setup config file
Edit `config.json`. Add your gpu server address in `config.json`.
```json
{
	"hosts": [
		"<username>@<host>[:port]",
		"<username>@<host>[:port]"
	]
}
```

## 2. Add rsa_id to server

create new rea_id and add to your server

```shell
$ python3 auto-copy-id.py -c -n
```

## 3. Run It!
```shell
$ python3 kairos-smi.py
```



