diff --git a/hbal.1 b/hbal.1 index 75563a72e6a9b7979f2b084dc0936039c82fb0ca..08e80b51fbeb6b34448989ab13dbd957f3e85295 100644 --- a/hbal.1 +++ b/hbal.1 @@ -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 diff --git a/hspace.1 b/hspace.1 index 5cf7a4a3ee73086a4d02a530ca33acf9b17e6250..d88982c64fdabad8edb081bbe79469e57e1e8e02 100644 --- a/hspace.1 +++ b/hspace.1 @@ -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,