Hi all, 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. The question is that can this be read out via other methods, is there any work in upstream, or should I just drop this approach completely? I''m using Xen 3.2.1 and looking on moving to 3.3.1. Regards, ZH _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Zoltan HERPAI <wigyori@uid0.hu> 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 (really --log=guest would do what you want) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On So, Mär 15, 2009 at 07:36:27 -0400, Luke S Crawford wrote:> Zoltan HERPAI <wigyori@uid0.hu> 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=DIRAlso, 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@lists.xensource.com > http://lists.xensource.com/xen-users-- Igor Chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users