summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-08-17 09:45:05 -0700
committerAlon Levy <alevy@redhat.com>2011-08-17 09:45:05 -0700
commit2b277fdeea731077db6c414da1478f0a3686e0f1 (patch)
treea47ef9c3a2ecfbdfbe6785f45311929373a32bf2
parent9715ba55567f5d99d32ab51e6af967de149592c9 (diff)
adding README
-rw-r--r--README5
-rwxr-xr-xtest7
2 files changed, 12 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..18f2e0f
--- /dev/null
+++ b/README
@@ -0,0 +1,5 @@
+Usage: (shown with spice, but not spice specific)
+
+qemu -vga qxl -spice port=6100,disable-ticketing &
+./bandwidthmon --listen-port 7100 --remote-port 6100 --remote-host localhost &
+spicy -h localhost -p 7100
diff --git a/test b/test
new file mode 100755
index 0000000..6445a07
--- /dev/null
+++ b/test
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# Doesn't actually work but gives a usage example
+
+nc -l 9000 > /dev/null < /dev/zero &
+./bandwidthmon --listen-port 10000 --remote-port 9000 &
+nc localhost 10000 < /dev/zero > /dev/null