Metadata-Version: 2.0
Name: ksmi
Version: 0.1.3
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. install 
Install with pip
```shell
$ pip install ksmi
or
$ pip3 install ksmi
```

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

## 3. Add rsa_id to server

create new rea_id and add to your server

```shell
$ python3 -m ksmi.auto-copy-id -c config.json -n
```

## 4. Run It!
```shell
$ python3 -m ksmi -c config.json -l
```



