From: "Bill Rieske" Subject: PATCH man xm update. resend with diff file renamed correctly Date: Tue, 23 Sep 2008 10:13:28 -0600 Message-ID: <48D8C147.860B.008B.3@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part547DC8B8.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part547DC8B8.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Added new, delete, dump-core, uptime, suspend, resume and altered others. First checkin by me so let me know what I did wrong. --=__Part547DC8B8.0__= Content-Type: text/plain; name="xm-man-update.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="xm-man-update.diff" # HG changeset patch=0A# User brieske@novell.com=0A# Date 1222185235 = 21600=0A# Node ID 0c285d0f17cb2a1b6ededbe6388fa89ce7e5a3e1=0A# Parent = ae29cd95ba7d7f5cdcbb32509575b83e9fb3d43c=0Aman xm update Added new,delete,= dump-core,resume,suspend,uptime and fixed others=0ASigned-off-by: Bill = Rieske =0A=0Adiff -r ae29cd95ba7d -r 0c285d0f17cb = docs/man/xm.pod.1=0A--- a/docs/man/xm.pod.1 Mon Sep 22 15:33:42 2008 = +0100=0A+++ b/docs/man/xm.pod.1 Tue Sep 23 09:53:55 2008 -0600=0A@@ -67,13 = +67,12 @@ so running curses based interfaces over =0A so running curses = based interfaces over the console B. Vi tends to get = very odd when using it over this interface.=0A =0A-=3Ditem B = [B<-c>] I [I=3DI]..=0A+=3Ditem B = I [I] [I]..=0A =0A-The create sub command = requires a config file and can optionally take a=0A-series of name value = pairs that add to or override variables defined=0A+The create subcommand = requires a config file and can optionally take a=0A+series of I that = add to or override variables defined=0A in the config file. See L for full details of that file=0A-format, and possible options used = in either the configfile or=0A-I=3DI combinations.=0A+format, = and possible options used in either the configfile or for I.=0A =0A = I can either be an absolute path to a file, or a relative=0A = path to a file located in /etc/xen.=0A@@ -86,9 +85,65 @@ B=0A =0A = =3Dover 4 =0A =0A-=3Ditem B<-c>=0A+=3Ditem B<--help_config>=0A =0A-Attache = console to the domain as soon as it has started. This is=0A+Print the = available configuration variables I. These variables may be=0A+used = on the command line or in the configuration file I.=0A+=0A+=3Di= tem B<-q>, B<--quiet>=0A+=0A+No console output.=0A+=0A+=3Ditem B<--path>=0A= +=0A+Search path for configuration scripts. The value of PATH is a = =0A+colon-separated directory list.=0A+=0A+=3Ditem B<-f=3DFILE>, B<--defcon= fig=3DFILE>=0A+=0A+Use the given Python configuration script. The = configuration =0A+script is loaded after arguments have been processed. = Each =0A+command-line option sets a configuration variable named after = =0A+its long option name, and these variables are placed in the=0A+environm= ent of the script before it is loaded. Variables =0A+for options that may = be repeated have list values. Other =0A+variables can be set using = name=3Dvalue on the command line. =0A+After the script is loaded, option = values that were not set =0A+on the command line are replaced by the = values set in the script.=0A+=0A+=3Ditem B<-F=3DFILE>, B<--config=3DFILE>= =0A+=0A+Use the given SXP formated configuration script.=0A+SXP is the = underlying configuration format used by Xen.=0A+SXP configuration scripts = can be hand-written or generated=0A+from Python configuration scripts, = using the -n=0A+(dryrun) option to print the configuration. An SXP = formatted=0A+configuration file may also be generated for a given = I by =0A+redirecting the output from the the B> =0A+to a file.=0A+=0A+=3Ditem B<-n>, B<--dryrun>=0A+=0A+Dry = run - prints the resulting configuration in SXP=0A+but does not create the = domain.=0A+=0A+=3Ditem B<-x>, B<--xmldryrun>=0A+=0A+XML dry run - prints = the resulting configuration in=0A+XML but does not create the domain.=0A+= =0A+=3Ditem B<-s>, B<--skipdtd>=0A+=0A+Skip DTD checking - skips checks on = XML before=0A+creating. Experimental. Can decrease create time.=0A+=0A+=3Di= tem B<-p>, B<--paused>=0A+=0A+Leave the domain paused after it is = created.=0A+=0A+=3Ditem B<-c>, B<--console_autoconnect>=0A+=0A+Attach = console to the domain as soon as it has started. This is=0A useful for = determining issues with crashing domains.=0A =0A =3Dback=0A@@ -118,6 = +173,11 @@ virtual networking. (This example comes=0A =0A =3Dback=0A = =0A+=3Ditem B=0A+=0A+Remove a domain from Xend domain management. = The B command=0A+shows the domain names.=0A+=0A =3Ditem B= I=0A =0A Immediately terminate the domain I. This = doesn't give the=0A@@ -133,6 +193,28 @@ Converts a domain name to a domain = id us=0A =0A Converts a domain id to a domain name using xend's internal = mapping.=0A =0A+=3Ditem B [I] I [I= ]=0A+=0A+Dumps the virtual machine's memory for the specified domain to = the=0A+I specified. The dump file will be written to a = distribution=0A+specific directory for dump files. Such as: /var/lib/xen/d= ump or =0A+/var/xen/dump Defaults to dumping the core without pausing the = domain=0A+if no I are specified.=0A+=0A+B=0A+=0A+=3Dover = 4=0A+=0A+=3Ditem B<-L>, B<--live>=0A+=0A+Dump core without pausing the = domain.=0A+=0A+=3Ditem B<-C>, B<--crash>=0A+=0A+Crash domain after dumping = core.=0A+=0A+=3Dback=0A+=0A =3Ditem B [B<--long>]=0A =0A Displays = the short help message (i.e. common commands).=0A@@ -140,10 +222,35 @@ The = B<--long> option prints out the comp=0A The B<--long> option prints out = the complete set of B subcommands,=0A grouped by function.=0A = =0A-=3Ditem B [B<--long> | B<--label>] [I ...]=0A+=3Ditem = B [I] [I ...]=0A =0A Prints information about = one or more domains. If no domains are=0A specified it prints out = information about all domains.=0A+=0A+=0A+B=0A+=0A+=3Dover = 4=0A+=0A+=3Ditem B<-l>, B<--long>=0A+=0A+The output for B is not = the table view shown below, but =0A+instead presents the data in SXP = format.=0A+=0A+=3Ditem B<--label>=0A+=0A+Security labels are added to the = output of xm list and the lines =0A+are sorted by the labels (ignoring = case). =0A+See the ACCESS CONTROL SUBCOMMAND section of this man page for = more =0A+information about labels.=0A+=0A+=3Ditem B<--state=3D>=0A+= =0A+Output information for VMs in the specified state.=0A+=0A+=3Dback=0A+= =0A+B=0A =0A An example format for the list is as follows:=0A = =0A@@ -164,10 +271,10 @@ Xen.=0A =0A B=0A =0A-=3Dover 4=0A-=0A The = State field lists 6 states for a Xen domain, and which ones the=0A current = domain is in.=0A+=0A+=3Dover 4=0A =0A =3Ditem B=0A =0A@@ = -204,32 +311,6 @@ FIXME: Is this right?=0A FIXME: Is this right?=0A =0A = =3Dback=0A-=0A-B=0A-=0A-=3Dover 4=0A-=0A-If B<--long> is = specified, the output for B is not the table=0A-view shown above, = but instead is an S-Expression representing all=0A-information known about = all domains asked for. This is mostly only=0A-useful for external = programs to parse the data.=0A-=0A-B There is no stable guarantees = on the format of this data.=0A-Use at your own risk.=0A-=0A-=3Dback=0A-=0A-= B