From: Ian Campbell Subject: Re: Question: How to see existing xenstore watches Date: Thu, 22 Mar 2012 10:22:26 +0000 Message-ID: <1332411746.8817.57.camel@zakaz.uk.xensource.com> References: <2351567.QrLjTeAqQ3@amur> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <2351567.QrLjTeAqQ3@amur> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Dietmar Hahn Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Thu, 2012-03-22 at 10:16 +0000, Dietmar Hahn wrote: > Hi, > > for debugging purposes I would like to see the existing xenstore watches and > the waiters for the watch. > The problem is, we got a EEXIST from xenstored while trying to set a watch > from our guest. > Is there a possibility to see this on the running xenstored? The ocaml xenstored will log this sort of thing to xenstore-access.log if you've configured it to do so. Other than that I don't know of a way. I suppose it would be useful to be able to send e.g. SIGUSR1 to xenstored and have it dump a bunch of this sort of state to its logs. Ian.