Alexis Ben Miloud--Josselin
883979e3e2
[kvmstats] Fix block listing
continuous-integration/drone/push Build is passing
2020-08-07 10:59:06 +02:00
Alexis Ben Miloud--Josselin
c8f9e80847
Make kvmstats' cron executable
continuous-integration/drone/push Build is passing
2019-12-04 18:25:26 +01:00
Alexis Ben Miloud--Josselin
453f6af063
Improve printing when using CSV format
...
Make sure there is always the same number of fields per line.
2019-10-02 18:08:41 +02:00
Alexis Ben Miloud--Josselin
c4f4166146
Fix arguments handling
...
Now all arguments are parsed. A non-valid argument will exit the program with an error.
2019-10-02 17:54:51 +02:00
Alexis Ben Miloud--Josselin
1cc11d39ee
[kvmstats] Typo
...
"I don't sing my mother tongue"
2019-09-03 11:10:53 +02:00
abenmiloud
3efd024075
Merge branch 'patch-vcpu-count' of evolix/kvm-tools into master
2019-09-03 11:06:28 +02:00
Jérémy Lecour
5133a159d1
Better vCPU count
...
The `virsh vcpucount` can output the maximum or current values, but only one of the flags should be used at the same time.
2019-09-03 10:58:05 +02:00
Alexis Ben Miloud--Josselin
029073c3b0
[kvmstats] fix memory searching
...
continuous-integration/drone/push Build is passing
Also add some comments.
2019-08-01 16:06:20 +02:00
Alexis Ben Miloud--Josselin
a06be48a3e
[kvmstats] fix printf when not using -a option
2019-08-01 15:33:02 +02:00
Alexis Ben Miloud--Josselin
97d9c76251
[kvmstats] show available resources
2019-08-01 15:23:09 +02:00
Alexis Ben Miloud--Josselin
5f250007ee
[kvmstats] disable cron for now
2019-08-01 15:17:57 +02:00
Alexis Ben Miloud--Josselin
15e2165213
[kvmstats] add playbook to deploy kvmstats
...
continuous-integration/drone/push Build is passing
Also add a cron to update the stats.
2019-07-31 14:42:50 +02:00
Alexis Ben Miloud--Josselin
e246f02058
Remove -o h
shortcut
...
Since human readable format is the default, this shortcut is useless.
2019-07-29 17:40:18 +02:00
Alexis Ben Miloud--Josselin
f7982f2577
Remove useless file.
...
continuous-integration/drone/push Build is passing
Don't do `git add .`…
2019-07-29 17:27:44 +02:00
Alexis Ben Miloud--Josselin
e179979d23
Add -o option
...
continuous-integration/drone/push Build encountered an error
This option control the output of the script. Possible output are human
(same as usual), html and csv.
This commit also does some minor syntax changes.
2019-07-29 16:47:42 +02:00
Alexis Ben Miloud--Josselin
7cdea6920e
[kvmstats] do not use subshell
continuous-integration/drone/push Build is passing
2019-07-26 16:50:38 +02:00
Alexis Ben Miloud--Josselin
7ead702375
[kvmstats] use xargs instead of variables
2019-07-26 16:12:38 +02:00
Alexis Ben Miloud--Josselin
a1c96fd929
[kvmstats] typo
continuous-integration/drone/push Build is passing
2019-07-26 15:49:34 +02:00
Alexis Ben Miloud--Josselin
a4a7eda8e2
[kvmstats] add error function
continuous-integration/drone/push Build encountered an error
2019-07-26 15:48:23 +02:00
Victor LABORIE
501c5134d4
Add support for direct boot from Debian installer repository
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build encountered an error
2019-05-28 16:43:22 +02:00
abenmiloud
55791a8c26
Merge branch 'nproc' of evolix/kvm-tools into master
continuous-integration/drone/push Build encountered an error
2019-05-27 14:54:22 +02:00
Victor LABORIE
d2bcb7c337
Auto change protocol to C and allow-two-primary for vm-migrate
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-05-16 16:11:40 +02:00
Victor LABORIE
128f8dc9a6
Update .drone.yml for use evolix repository
continuous-integration/drone/push Build is passing
2019-05-03 11:35:45 +02:00
Benoît S.
b092fba8cd
Use nproc to detect numbers of CPU
continuous-integration/drone/push Build encountered an error
continuous-integration/drone/pr Build is passing
2019-04-19 10:25:22 +02:00
Victor LABORIE
c669653b18
Use DroneCI for auto build deb package
continuous-integration/drone/push Build is passing
2019-03-01 14:12:59 +01:00
Alexis Ben Miloud--Josselin
20cecaa77a
Fix line print
...
On the last awk command, line containing "yes"
were printed two times.
2018-12-27 10:37:55 +01:00
Alexis Ben Miloud--Josselin
e12c362f7b
Fix unit -u option
...
Also clean the code
2018-12-27 10:37:55 +01:00
Victor Laborie
8e657a28b4
Merge branch 'license-readme-conformity' of evolix/kvm-tools into master
2018-12-26 17:45:42 +01:00
Patrick Marchand
057079a6b1
Fixes to markdown links in README.md
2018-12-26 11:32:02 -05:00
Patrick Marchand
66e1b08b16
A few improvements in the language of the wiki.
2018-12-24 16:11:16 -05:00
Victor LABORIE
7ea7b52dc0
Add doc for Debian packaging
2018-12-19 11:04:12 +01:00
Victor LABORIE
d2198d8432
Add GPLv3 license
2018-12-12 18:29:56 +01:00
Alexis Ben Miloud--Josselin
2e516bb734
Do not use tempfile
...
It is not needed anymore.
2018-11-02 17:32:19 +01:00
Alexis Ben Miloud--Josselin
d8c77c59d3
Use virsh instead of hxselect
...
Also remove lvs. The code is much simpler now!
2018-10-11 14:48:44 +02:00
Victor LABORIE
33c452464f
Add vm-migrate script
2018-09-12 15:29:11 +02:00
Jérémy Lecour
4dc0b423b2
A path to an ISO image can be configured to boot the VM on it.
2018-09-06 13:49:59 +02:00
Jérémy Lecour
9b2e9889cc
bridge name is configurable
2018-09-06 13:47:23 +02:00
Alexis Ben Miloud--Josselin
93fc44aa06
Move depencies checking before args parsing
...
This commit also adds bc(1) to the dependencies
list and fixed some comments.
2018-08-02 18:04:28 +02:00
Alexis Ben Miloud--Josselin
cfa1cf2261
Only count running VM in total
...
This commit also fixes the way kvmstats counts
running VM.
2018-08-02 17:39:16 +02:00
Alexis Ben Miloud--Josselin
4b5c68ca57
Add a way to show available ressources
...
This can be done using the -a option.
2018-08-02 17:28:58 +02:00
Victor LABORIE
bf385b9749
Rename script without extension and make them executable
2018-07-27 11:50:28 +02:00
Victor LABORIE
0fcf624576
Add a gitignore for .swp files
2018-07-27 11:06:57 +02:00
Victor LABORIE
72953ee6a5
Add doc for disks config in add-vm
2018-07-27 11:06:31 +02:00
Victor LABORIE
f830db53e3
Fix default disks value
2018-07-27 10:57:35 +02:00
Alexis Ben Miloud--Josselin
6b62401abf
Use more revelant names for temp files
2018-07-19 11:41:35 +02:00
Alexis Ben Miloud--Josselin
555b8eb7b6
Fix crash when vm is not running
...
Due to the `set -e`, the script exited when $VM
was no in "running" state.
2018-07-19 11:37:29 +02:00
Alexis Ben Miloud--Josselin
5106b550d3
Make the code warning-free
...
Using `shellcheck -s sh kvmstats.sh`.
2018-07-16 16:56:25 +02:00
Alexis Ben Miloud--Josselin
c9905f5c4c
Exit on error
2018-06-28 17:52:35 +02:00
Alexis Ben Miloud--Josselin
d6c0f12e83
Add kvmstats to README
2018-06-21 10:27:56 +02:00
Alexis Ben Miloud--Josselin
383e800ec9
Add header about html-xml-utils package
2018-06-21 10:24:22 +02:00