a68570b5d9
1. Add computing offloading code 2. Add script.md 3. Add virsh_demo.xml Change-Id: Id9ef883e2f0eb727eb5448b9d1c47767f46b1021 Signed-off-by: Yikun Jiang <yikunkero@gmail.com> |
||
---|---|---|
.. | ||
client.c | ||
makefile | ||
README.md | ||
scm_rights.c | ||
server.c | ||
uds.h |
编译:
make clean
make
测试步骤:
- 在server上运行
cd /home
tar xzvf scmright_test.tar.gz
cd scmright_test
make clean;make
LD_LIBRARY_PATH=. ./server scm.sock
- 在client上运行
cd /home
tar xzvf scmright_test.tar.gz
cd scmright_test
make clean;make
LD_PRELOAD=/usr/lib64/libudsproxy.so LD_LIBRARY_PATH=. ./client scm.sock test.log
or
LD_PRELOAD=/usr/lib64/libudsproxy.so LD_LIBRARY_PATH=. ./client scm.sock
- 往client端发送消息进行测试
Input message to send:1234
Input message to send:abcd
Input message to send:quit
input quit will exit client and server
- 确认server是否接收到消息或确认test.log是否写入
cat test.log | grep 1234