|
| 1 | +beanstool [](https://github.com/tyba/beanstool/releases) |
| 2 | +============================== |
| 3 | + |
| 4 | +Dependency free [beanstalkd](http://kr.github.io/beanstalkd/) admin tool. |
| 5 | + |
| 6 | +Basically this is a rework of the wonderful [bsTools](https://github.com/jimbojsb/bstools) with some extra features and of course without need to install any dependency. Very useful in companion of the server in a small docker container. |
| 7 | + |
| 8 | +Installation |
| 9 | +------------ |
| 10 | + |
| 11 | +``` |
| 12 | +wget https://github.com/tyba/beanstool/releases/download/v0.1.0/beanstool_v0.1.0_linux_amd64.tar.gz |
| 13 | +tar -xvzf beanstool_v0.1.0_linux_amd64.tar.gz |
| 14 | +cp beanstool_v0.1.0_linux_amd6/beanstool /usr/local/bin/ |
| 15 | +``` |
| 16 | + |
| 17 | +browse the [`releases`](https://github.com/tyba/beanstool/releases) section to see other archs and versions |
| 18 | + |
| 19 | + |
| 20 | +Usage |
| 21 | +----- |
| 22 | + |
| 23 | +```sh |
| 24 | +Usage: |
| 25 | + beanstool [OPTIONS] <command> |
| 26 | + |
| 27 | +Help Options: |
| 28 | + -h, --help Show this help message |
| 29 | + |
| 30 | +Available commands: |
| 31 | + bury bury existing jobs from ready state |
| 32 | + kick kicks jobs from buried back into ready |
| 33 | + peek peeks a job from a queue |
| 34 | + put put a job into a tube |
| 35 | + stats print stats on all tubes |
| 36 | + tail tails a tube and prints his content |
| 37 | +``` |
| 38 | + |
| 39 | +As example this is the output of the command `./beanstool stats`: |
| 40 | + |
| 41 | +``` |
| 42 | ++---------+----------+----------+----------+----------+----------+---------+-------+ |
| 43 | +| Name | Buried | Delayed | Ready | Reserved | Urgent | Waiting | Total | |
| 44 | ++---------+----------+----------+----------+----------+----------+---------+-------+ |
| 45 | +| foo | 20 | 0 | 5 | 0 | 0 | 0 | 28 | |
| 46 | +| default | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 47 | ++---------+----------+----------+----------+----------+----------+---------+-------+ |
| 48 | +``` |
| 49 | + |
| 50 | +License |
| 51 | +------- |
| 52 | + |
| 53 | +MIT, see [LICENSE](LICENSE) |
0 commit comments