Skip to contentSkip to conversation

xenstored

DISCUSSION sanket hase 5 participants 6 messages Nov 26, 2007 – Dec 1, 2007 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi ,

Are there any options with xenstored to access xenstore ? Can I look up contents of xenstore ?

Thanks,
Sanket

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 1 line
Quoted 1 line

1. Are there any options along with xenstore-ls using which I can lookup only a few parts of the xenstore ?
like : xenstore-ls -d "/local/domain/33/" etc. ..

2. Do we have any "man" like facility using which we can know more about options of various xentools ?

-Sanket

Quoted 10 lines · michael schuster
Quoted 3 lines · sanket hase

Hi ,

Are there any options with xenstored to access xenstore ? Can I look up contents of xenstore ?

"xenstore-ls" is your friend; on Solaris, it's in /usr/lib/xen/bin, in Linux (I think) it's in /usr/bin.

Quoted 1 line

Thnaks !

HTH
Michael

#3 lore raw

hi.

Quoted 6 lines · sanket hase
Quoted 1 line
Quoted 1 line

1. Are there any options along with xenstore-ls using which I can lookup only a few parts of the xenstore ?
like : xenstore-ls -d "/local/domain/33/"
etc. ..

just drop the -d.

e.g.

sudo xenstore-ls /local/domain/0

Quoted 3 lines

2. Do we have any "man" like facility using which we can know more about
options of various xentools ?

i'm not aware of any manpages beyond the ones you probably already found under docs/man/.

hth,
daniel

Signature · 5 lines
Daniel Stodden
LRR     -      Lehrstuhl für Rechnertechnik und Rechnerorganisation
Institut für Informatik der TU München             D-85748 Garching
http://www.lrr.in.tum.de/~stodden         mailto:[email protected]
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B
#4 lore raw
In reply to sanket hase
Quoted 4 lines · sanket hase

Hi ,

Are there any options with xenstored to access xenstore ? Can I look up contents of xenstore ?

In addition to xenstore-ls et al, I once hacked up a fuse filesystem for xenstore:

http://hg.kublai.com/xen/xsfs/

Pull the repository from there and make. Then xsfs <mountpoint> and off you go.

#5 lore raw

I use the sample code on http://wiki.xensource.com/xenwiki/XenStore
and just changed the last line to
for key in $* ; do dumpkey ${key} ; done

it's handy for me

Quoted 18 lines · Brendan Cully
Quoted 4 lines · sanket hase

Hi ,

Are there any options with xenstored to access xenstore ? Can I look up contents of xenstore ?

In addition to xenstore-ls et al, I once hacked up a fuse filesystem for xenstore:

http://hg.kublai.com/xen/xsfs/

Pull the repository from there and make. Then xsfs <mountpoint> and off you go.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#6 lore raw
In reply to Brendan Cully

In addition, the mainline xen tree (-unstable, at least, not sure if it's in any releases yet) includes a small graphical app called xsview that allows you to browse and alter the contents of the current Xenstore hierarchy.

Cheers,
Mark

Signature · 4 lines
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!