Skip to content

Console based administration tool for beanstalkd.

License

Notifications You must be signed in to change notification settings

mariuswilms/bsa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BSA
-- Console based administration tool for beanstalkd.

Synopsis
--------
Bsa is an interactive console based tool for beanstalkd[0] and allows to
run common administration tasks like inspecting tubes and jobs, clearing
a tube or kicking all jobs in a tube. It has history and autocompletion
support.

[0] https://kr.github.io/beanstalkd

Install the tool, then run it.
$ bsa

This will connect you to a local beanstalkd server on the default port.
beanstalkd [*] >

To get an overview of available commands type 'help' and press enter.
beanstalkd [*] > help

Bsa can operate on single, multiple or all tubes, to select a set of tubes
to work with use the 'use' command. This way clearing buried jobs from
multiple tubes becomes very easy.
beanstalkd [*] > use fix flux
beanstalkd [fix, flux] > clear buried

The 'list' command shows the status of each selected tube - or if none
is selected - the status of all available tubes.
beanstalkd [fix, flux] > list

              paused       ready/delayed/buried     waiting/watching/using
--------------------------------------------------------------------------
  fix            10s             20 (2) / 3 / 1                  1 / 0 / 0
  flux             -           101 (20) / 5 / 0                  0 / 2 / 0

Copyright & License
-------------------
Bsa is Copyright (c) 2014 David Persson if not otherwise stated. The code
is distributed under the terms of the BSD 3-clause License. For the full
license text see the LICENSE file.