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-users

Re: [Xen-users] Re: execute command

To: Charles Duffy <cduffy@xxxxxxxxxxx>
Subject: Re: [Xen-users] Re: execute command
From: Anand <xen.mails@xxxxxxxxx>
Date: Fri, 6 Jan 2006 02:32:42 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 05 Jan 2006 21:08:19 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=HgRbUp5O4Gutuym6x+OR4ba5GEdgxvaL7VBksT5mfU6QDeWnJqV3r3jG1ZgiyMhSm1t5lzyWpOMN+rB+a7yZbf3FKUhT8kjH3eLMrCrM3ji2wXs46BGjsOfsi51AYai0Q1XmXL2PgZbULu1JT357K3TXAUpY8imEMBxBjivs1UU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <dpk19q$l0$1@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <acb757c00601051247h299c7346ga05627894123b272@xxxxxxxxxxxxxx> <dpk19q$l0$1@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Any ideas on how to implement such a script ? I tried echo "command; exit" | xm console vm01 however it doesn't work.

On 1/6/06, Charles Duffy <cduffy@xxxxxxxxxxx> wrote:
Anand wrote:
> Is there a way to run a command inside a domX from dom0 and get its
> output in dom0 ?

SSH? RSH? An expect script that connects to the console, runs your
command and disconnects?

--

regards,

Anand
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users