WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Fix help messages of xm vcpu-list/uptime

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix help messages of xm vcpu-list/uptime
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Fri, 07 Dec 2007 18:39:05 +0900
Delivery-date: Fri, 07 Dec 2007 01:39:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

We can give multiple domains to the following commands. 
But, the help messages of the commands are explained to be able 
to give a single domain. 

# xm vcpu-list vm1 vm2
Name                                ID  VCPU   CPU State   Time(s) CPU Affinity
vm1                                  1     0     0   r--    1409.3 any cpu
vm2                                  2     0     0   r--    1255.8 any cpu
# xm vcpu-list --help
Usage: xm vcpu-list [<Domain>]

List the VCPUs for a domain or all domains.
# xm uptime vm1 vm2
Name                                ID Uptime 
vm1                                  1  0:24:03
vm2                                  2  0:21:32
# xm uptime --help
Usage: xm uptime [-s] <Domain>

Print uptime for a domain.


This patch fixes the help messages of the commands like the help 
message of xm list command. 

# xm vcpu-list --help
Usage: xm vcpu-list [Domain, ...]

List the VCPUs for all/some domains.
# xm uptime --help
Usage: xm uptime [-s] [Domain, ...]

Print uptime for all/some domains.


Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: help_xm_vcpu.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix help messages of xm vcpu-list/uptime, Masaki Kanno <=