projects
/
cloudstore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move create_user to perl API
[cloudstore.git]
/
gearman-status.sh
diff --git
a/gearman-status.sh
b/gearman-status.sh
index
0e87f36
..
85c8f7b
100755
(executable)
--- a/
gearman-status.sh
+++ b/
gearman-status.sh
@@
-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