[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] monitoring all xenstore 'traffic'


  • To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
  • From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 7 Nov 2008 11:22:28 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 07 Nov 2008 02:22:54 -0800
  • Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:From:To:Subject:Date:User-Agent: References:In-Reply-To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-Disposition:Message-Id; b=GajAdJPoYCM4F4vhCNcGRUDfaqrOoNcRzy9XsByiKilDrAPFLTe25H8u nLwxLeXVYh3l6uxK2TRRDWkFaSnhU25xUzY6ohGgp3ZBeYOwL9AaWDEzT u8fCcQcWv7/jjcd;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Am Freitag, 7. November 2008 schrieb James Harper:
> Is there a way that I can monitor all xenstore activity?
>
> The sort of thing I am after is output like:
>
> D2045: /local/domain/2045/device/vbd/state set to "4"
> D0: /local/domain/2045/device/vbd/state watch fired
> D0: /local/domain/2045/device/vbd/state read value "4"

You must set
export XENSTORED_TRACE=1
before starting xend. You can search for XENSTORED_TRACE in /usr/bin/xend.
Then a trace file /var/log/xen/xenstored-trace.log is written.
You will see such lines:
IN  0x516a70 20081010 08:20:33 GET_DOMAIN_PATH (1 )
OUT 0x516a70 20081010 08:20:33 GET_DOMAIN_PATH (/local/domain/1 )
IN  0x5373e0 20081010 08:20:33 READ (/local/domain/1/serial/0/ring-ref )
OUT 0x5373e0 20081010 08:20:33 ERROR (ENOENT )

Dietmar.

>
> etc
>
> OpenSolaris Dom0 doesn't appear to want to talk to the Windows GPLPV
> drivers and I suspect that I'm doing something wrong in the xenbus
> arena... monitoring exactly what I do vs what a Linux PV DomU does would
> be educational!
>
> Thanks
>
> James
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.