From: Wei Liu Subject: [PATCH OSSTEST] mg-hosts: document "power" command Date: Mon, 7 Dec 2015 17:24:23 +0000 Message-ID: <1449509063-13260-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1a5zWN-0007pj-Sv for xen-devel@lists.xenproject.org; Mon, 07 Dec 2015 17:24:20 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Xen-devel Cc: ian.jackson@eu.citrix.com, Wei Liu , ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org Signed-off-by: Wei Liu --- mg-hosts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mg-hosts b/mg-hosts index a911099..0d02c56 100755 --- a/mg-hosts +++ b/mg-hosts @@ -24,6 +24,13 @@ # of osstest. Will use "sudo". The HOST(s) must be # allocated (via mg-allocate HOST). # +# ./mg-hosts power HOST ACTION +# Power cycles the host. Host must be allocated to the current +# user. Actions are: +# "0" or "on" : power on +# "1" or "off" : power off +# "c" or "r" : reboot +# # ./mg-hosts create-like SOURCE-HOST NEW-HOST[,NEW-HOST...] # Create new host(s). This does NOT copy the # flags and properties (!) -- 2.1.4