From cc0b2bf9de6871cb951fccd4c4e860f08c15e2ec Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Thu, 21 Oct 2010 18:14:50 +0100 Subject: 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 Signed-off-by: Ian Jackson --- .hgignore | 1 + 1 file changed, 1 insertion(+) (limited to '.hgignore') diff --git a/.hgignore b/.hgignore index e9c08742e7..77353002ca 100644 --- a/.hgignore +++ b/.hgignore @@ -262,6 +262,7 @@ ^tools/xenstore/xenstore-write$ ^tools/xenstore/xenstore-control$ ^tools/xenstore/xenstore-ls$ +^tools/xenstore/xenstore-watch$ ^tools/xenstore/xenstored$ ^tools/xenstore/xenstored_test$ ^tools/xenstore/xs_crashme$ -- cgit v1.2.3