Skip to content

Instantly share code, notes, and snippets.

@ajaxray
Created July 22, 2015 12:41
Show Gist options
  • Save ajaxray/a2b69cee220c2f9bb9ad to your computer and use it in GitHub Desktop.
Save ajaxray/a2b69cee220c2f9bb9ad to your computer and use it in GitHub Desktop.
Getting beanstalkd status with a single/one-line command

Getting beanstalkd status with a single command

  • Full status: echo -e "stats\r\n" | nc localhost 11300
  • List of tubes: echo -e "stats-tube create-report\r\n" | nc localhost 11300
  • Tube status: echo -e "stats-tube the-tube-name\r\n" | nc localhost 11300
  • Select a tube: echo -e "use create-report\r\n" | nc localhost 11300
  • Next ready job in current tube: echo -e "peek-ready\r\n" | nc localhost 11300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment