Skip to content

Instantly share code, notes, and snippets.

@malisetti
Forked from janogarcia/gearman_admin.md
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save malisetti/ffd875b9213adbda62cb to your computer and use it in GitHub Desktop.
Save malisetti/ffd875b9213adbda62cb to your computer and use it in GitHub Desktop.

Telnet

The Gearman job server supports a text-based protocol to pull information and run some administrative tasks. The following commands are supported:

  • workers
  • status
  • maxqueue
  • shutdown
  • version

Example

$ telnet localhost 4730
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
status
asyncMessage 0   0   1
syncMessage 0   0   1 

Gearadmin

Available as of gearman 0.19, the gearadmin tool saves a lot of boilerplate scripts from being written. The gearadmin tool is really nothing more than a wrapper around the telnet commands. It does make capturing the output a little easier and you don't have to memorize the commands.

PHP

Some PHP libraries/classes to monitor Gearman servers.

Gearman Monitor acts as a sort of "phpMyAdmin for Gearman". The others, Waps_Gearman_Server, GearmanTelnet... don't offer an advanced visual interface.

Gearman Monitor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment