domlist

Crates.iodomlist
lib.rsdomlist
version1.7.5
sourcesrc
created_at2023-07-18 06:51:26.392944
updated_at2023-08-16 07:38:03.936248
descriptionCollects stat infomation from virsh. Mainly for OpenStack admin.
homepagehttps://github.com/wabuntu
repositoryhttps://github.com/wabuntu/domlist
max_upload_size
id919152
size12,080,691
(wabuntu)

documentation

https://docs.rs/domlist

README

domlist

Collects stat infomation from virsh. Mainly for OpenStack admin.

Install

Run

Please have your ssh-agent ready before you run.

$ eval `ssh-agent`
$ ssh-add ~/.ssh/id_rsa

Run against remote compute node

user@desktop:~$ domlist computenode01.example.com
+--------------------+-----------------+---------+--------+--------+--------+---------+
|       Domain       |    Instance     | CPU(G)  | MEM(G) | I/O(G) | NET(G) | Disk(G) |
+--------------------+-----------------+---------+--------+--------+--------+---------+
| vmcloud01-aaaaaaaa | aaaaaaaaaaaaaaa |  282606 |  33/33 |   7234 |  26510 | 158/171 |
| vmcloud01-bbbbbbbb | bbbbbbbbbbbbbbb |  128276 |  16/16 |   5323 |   4618 | 334/515 |
| vmcloud01-cccccccc | ccccccccccccccc |     111 |  16/16 |     28 |      0 |   5/171 |
+--------------------+-----------------+---------+--------+--------+--------+---------+

Run in local

user@computenode01:~$ domlist
+--------------------+-----------------+---------+--------+--------+--------+---------+
|       Domain       |    Instance     | CPU(G)  | MEM(G) | I/O(G) | NET(G) | Disk(G) |
+--------------------+-----------------+---------+--------+--------+--------+---------+
| vmcloud01-aaaaaaaa | aaaaaaaaaaaaaaa |  282606 |  33/33 |   7234 |  26510 | 158/171 |
| vmcloud01-bbbbbbbb | bbbbbbbbbbbbbbb |  128276 |  16/16 |   5323 |   4618 | 334/515 |
| vmcloud01-cccccccc | ccccccccccccccc |     111 |  16/16 |     28 |      0 |   5/171 |
+--------------------+-----------------+---------+--------+--------+--------+---------+
Commit count: 146

cargo fmt