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] directing xm dmesg to syslog

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] directing xm dmesg to syslog
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Tue, 23 May 2006 16:31:44 +0100
Cc: Hans-Christian Armingeon <mog.johnny@xxxxxxx>
Delivery-date: Tue, 23 May 2006 08:33:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200605231459.33644.mog.johnny@xxxxxxx>
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: <200605231459.33644.mog.johnny@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.1
> short questin: I want to direct the oputput of xm dmesg in (near) realtime
> to syslog.
>
> Is this possible?

dom0 Linux doesn't (currently) get any notifications that the xm dmesg output 
has changed.

You could write a daemon to poll xm dmesg and send changes to syslog...  You 
might like to consider having it clear the dmesg also, since it uses a 
fixed-size buffer and won't work once that is full.

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

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