move create_user to perl API
[cloudstore.git] / gearman-status.sh
index 0e87f36..85c8f7b 100755 (executable)
@@ -1,3 +1,5 @@
 #!/bin/sh -xe
 
-echo STATUS | nc -w 1 127.0.0.1 4730
+command=$1
+test -z "$command" && command="STATUS"
+echo $command | nc -w 1 127.0.0.1 4730 | column -t