aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstore/Makefile
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2010-10-21 18:14:50 +0100
committerIan Campbell <ian.campbell@citrix.com>2010-10-21 18:14:50 +0100
commitcc0b2bf9de6871cb951fccd4c4e860f08c15e2ec (patch)
tree2569413c5221554ef385df252765435b987cc3b7 /tools/xenstore/Makefile
parenteaf735e9991ddd6971d5cbebdf588a104f837c7b (diff)
downloadxen-cc0b2bf9de6871cb951fccd4c4e860f08c15e2ec.tar.gz
xen-cc0b2bf9de6871cb951fccd4c4e860f08c15e2ec.tar.bz2
xen-cc0b2bf9de6871cb951fccd4c4e860f08c15e2ec.zip
xenstore: add xenstore-watch command line client
# xenstore-watch x | while read w ; do > echo "watch fired on $w" > echo "value" $(xenstore-read $w) > echo > done # xenstore-write x/y/z 42 output from while loop: watch fired on x/t/z value 42 [ also add line to .hgignore - iwj ] Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/xenstore/Makefile')
-rw-r--r--tools/xenstore/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile
index c4b33cb8f8..35e68d0533 100644
--- a/tools/xenstore/Makefile
+++ b/tools/xenstore/Makefile
@@ -9,7 +9,7 @@ CFLAGS += -I.
CFLAGS += $(CFLAGS_libxenctrl)
CLIENTS := xenstore-exists xenstore-list xenstore-read xenstore-rm xenstore-chmod
-CLIENTS += xenstore-write xenstore-ls
+CLIENTS += xenstore-write xenstore-ls xenstore-watch
XENSTORED_OBJS = xenstored_core.o xenstored_watch.o xenstored_domain.o xenstored_transaction.o xs_lib.o talloc.o utils.o tdb.o hashtable.o