Update chvm man page and usage information, to add 'chvm support specifying attribute-value paires in command line

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3201 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhanx 2009-04-16 10:09:49 +00:00
parent 55d8f0fb61
commit f2c8dc1a8d
2 changed files with 15 additions and 2 deletions

View File

@ -119,7 +119,8 @@ my %usage = (
lsvm <noderange> [-a|--all]",
"chvm" =>
"Usage: chvm <noderange> [-p profile][-V|--verbose]
chvm [-h|--help|-v|--version]",
chvm [-h|--help|-v|--version]
chvm <noderange> <attr>=<val> [<attr>=<val>...]",
"rmvm" =>
"Usage: rmvm <noderange> [-V|--verbose]
rmvm [-h|--help|-v|--version]",

View File

@ -12,9 +12,13 @@ I<chvm [-v| --version]>
I<chvm [-V| --verbose] noderange [-p profile]>
I<chvm [-V| --verbose] noderange attr=val [attr=val...]>
=head1 DESCRIPTION
The chvm command modifies the partition profile for the partitions specified in noderange. A partitions current profile can be read using lsvm, modified, and piped into the chvm command, or changed with the -p flag.
The chvm command modifies the partition profile for the partitions specified in noderange. A partitions current profile can be read using lsvm, modified, and piped into the chvm command, or changed with the -p flag.
This command also supports to change specific partition attributes by specifying one or more "attribute equals value" pairs in command line directly, without whole partition profile.
=head1 OPTIONS
@ -23,6 +27,8 @@ B<-h> Display usage message.
B<-p profile> Name of an existing partition profile.
B<attr=val> Specifies one or more "attribute equals value" pairs, separated by spaces.
B<-v> Command Version.
B<-V> Verbose output.
@ -52,6 +58,12 @@ Output is similar to:
lpar4: Success
3. To change partition attributes for lpar4 by specifying attribute value pairs in command line, enter:
I<chvm lpar4 max_mem=4096>
Output is similar to:
lpar4: Success
=head1 FILES