diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-10-21 18:14:50 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-10-21 18:14:50 +0100 |
commit | cc0b2bf9de6871cb951fccd4c4e860f08c15e2ec (patch) | |
tree | 2569413c5221554ef385df252765435b987cc3b7 /.hgignore | |
parent | eaf735e9991ddd6971d5cbebdf588a104f837c7b (diff) | |
download | xen-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 '.hgignore')
-rw-r--r-- | .hgignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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$ |