Skip to content
Snippets Groups Projects
Commit 848a9ac5 authored by Iustin Pop's avatar Iustin Pop
Browse files

Man page updates

This patch beautifies the man pages for hbal and hspace.
parent 26d47cf5
No related branches found
No related tags found
No related merge requests found
......@@ -4,23 +4,38 @@ hbal \- Cluster balancer for Ganeti
.SH SYNOPSIS
.B hbal
.BI "[-C[" file "]]"
.B "[-p]"
.B "[-o]"
.B "[-v... | -q]"
.BI "[-l" limit "]"
.BI "[-O" name... "]"
.BI "[-e" score "]"
.BI "[-m " cluster "]"
.BI "[-L[" path "]]"
.BI "[-n " nodes-file " ]"
.BI "[-i " instances-file "]"
.BI "[--max-cpu " cpu-ratio "]"
.BI "[--min-disk " disk-ratio "]"
.B "[backend options...]"
.B "[algorithm options...]"
.B "[reporting options...]"
.B hbal
.B --version
.TP
Backend options:
.BI "[ -m " cluster " ]"
|
.BI "[ -L[" path "]]"
|
.BI "[ -n " nodes-file " ]"
.BI "[ -i " instances-file " ]"
.TP
Algorithm options:
.BI "[ --max-cpu " cpu-ratio " ]"
.BI "[ --min-disk " disk-ratio " ]"
.BI "[ -l " limit " ]"
.BI "[ -e " score " ]"
.BI "[ -O " name... " ]"
.TP
Reporting options:
.BI "[ -C[" file "] ]"
.B "[ -p ]"
.B "[ -o ]"
.B "[ -v... | -q ]"
.SH DESCRIPTION
hbal is a cluster balancer that looks at the current state of the
cluster (nodes with their total and free disk, memory, etc.) and
......
......@@ -4,21 +4,36 @@ hspace \- Cluster space analyzer for Ganeti
.SH SYNOPSIS
.B hspace
.B "[backend options...]"
.B "[algorithm options...]"
.B "[request options..."]
.B "[-p]"
.B "[-v... | -q]"
.BI "[-O" name... "]"
.BI "[-m " cluster "]"
.BI "[-L[" path "]]"
.BI "[-n " nodes-file " ]"
.BI "[-i " instances-file "]"
.B hspace
.B --version
.TP
Backend options:
.BI "[ -m " cluster " ]"
|
.BI "[ -L[" path "]]"
|
.BI "[ -n " nodes-file " ]"
.BI "[ -i " instances-file " ]"
.TP
Algorithm options:
.BI "[ --max-cpu " cpu-ratio " ]"
.BI "[ --min-disk " disk-ratio " ]"
.BI "[ -O " name... " ]"
.TP
Request options:
.BI "[--memory " mem "]"
.BI "[--disk " disk "]"
.BI "[--req-nodes " req-nodes "]"
.BI "[--max-cpu " cpu-ratio "]"
.BI "[--min-disk " disk-ratio "]"
.B hspace
.B --version
.SH DESCRIPTION
hspace computes how many additional instances can be fit on a cluster,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment