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] guest console logging

To: Luke S Crawford <lsc@xxxxxxxxx>
Subject: Re: [Xen-users] guest console logging
From: Igor Chubin <igor@xxxxxxx>
Date: Wed, 18 Mar 2009 13:27:15 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Zoltan HERPAI <wigyori@xxxxxxx>
Delivery-date: Wed, 18 Mar 2009 04:22:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <m3y6v61hqc.fsf@xxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <49BD7C0E.6020507@xxxxxxx> <m3y6v61hqc.fsf@xxxxxxxxxxxxxxxxxx>
Reply-to: Igor Chubin <igor@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On So, Mär 15, 2009 at 07:36:27 -0400, Luke S Crawford wrote:
> Zoltan HERPAI <wigyori@xxxxxxx> writes:
> > I would like to log the outputs of a guest's console. Practically I
> > would use something like "xm console <guest> |tee" for this purpose,
> > however when I attach another console process onto the guest (let's
> > say I want to do some work on the console, while the other process is
> > logging what's happening on the console), the output gets utterly
> > wrong, I've found the reasons after some google-ing.
> 
> one way to log all consoles is to start xenconsoled with the following
> options:
> 
> /usr/sbin/xenconsoled --log=all --log-dir=DIR


Also, you can write typescript of the session
with the program "script".
Try:

 script xm console domain


> 
> 
> (really --log=guest would do what you want)
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
Igor Chubin


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

<Prev in Thread] Current Thread [Next in Thread>