From 3d95cd0d519f77e20cc5ca7f36b36708f0c56afb Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Tue, 12 Oct 2010 17:50:04 +0200 Subject: [PATCH] Add mising --units in gnt-instance list man page Also fixes some wrapping issues, and one typo. Signed-off-by: Iustin Pop Reviewed-by: Michael Hanselmann (cherry picked from commit f8409165b4e6d24bd160ee6c85ba432ae8afa117) Conflicts: man/gnt-instance.sgml (re-wrapped) --- man/gnt-instance.sgml | 37 +++++++++++++++++++++++++++---------- 1 file changed, 27 insertions(+), 10 deletions(-) diff --git a/man/gnt-instance.sgml b/man/gnt-instance.sgml index 560b665..bddd8d2 100644 --- a/man/gnt-instance.sgml +++ b/man/gnt-instance.sgml @@ -136,7 +136,7 @@ interpreted (when no unit is given) in mebibytes. You can also use one of the suffixes m, g or - t to specificy the exact the units used; + t to specify the exact the units used; these suffixes map to mebibytes, gibibytes and tebibytes. @@ -633,9 +633,9 @@ Valid for the KVM hypervisor. - Under security model user the username - to run the instance under. It must be a valid username - existing on the host. + Under security model user the + username to run the instance under. It must be a valid + username existing on the host. Cannot be set under security model none or pool. @@ -714,13 +714,17 @@ This boolean option determines wether to run the KVM instance in a chroot directory. - If it is set to true, an empty directory - is created before starting the instance and its path is passed - via the flag to kvm. - The directory is removed when the instance is stopped. + + If it is set to true, an empty + directory is created before starting the instance and + its path is passed via the + flag to kvm. The directory is removed when the + instance is stopped. - It is set to false by default. + It is set to false by + default. + @@ -1025,7 +1029,8 @@ - The command will display the job id for each submitted instance, as follows: + The command will display the job id for each submitted + instance, as follows: # gnt-instance batch-create instances.json instance3: 11224 @@ -1092,6 +1097,8 @@ instance5: 11225 list --no-headers --separator=SEPARATOR + + --units=UNITS -o [+]FIELD,... --roman instance @@ -1111,6 +1118,16 @@ instance5: 11225 + The units used to display the numeric values in the output + varies, depending on the options given. By default, the values + will be formatted in the most appropriate unit. If the + option is given, then the values + are shown in mebibytes to allow parsing by scripts. In both + cases, the option can be used to + enforce a given output unit. + + + The option allows latin people to better understand the cluster instances' status. -- 1.7.10.4