Git Product home page Git Product logo

gearctl's Introduction

NAME

gearctl - Gearman daemon controller, with graceful shutdown

SYNOPSIS

gearctl [options]

Options:

     --host <arg>  the server's host (default localhost)
     --port <arg>  the server's port (default 4730)
     --workers     a list all workers
     --status      a list of functions
     --shutdown    shutdown the server without draining the queue
     --graceful    drain queue before shutting down the server
     --version     reports the server version
 -h, --help        brief help message
 -m, --man         full documentation

OPTIONS

  • --host <arg>

    Default: localhost

    Connect to the server on this host.

  • --port <arg>

    Default: 4730

    Connect to the server on this port.

  • --workers

    This sends back a list of all workers, their file descriptors, their IPs, their IDs, and a list of registered functions they can perform. The list is terminated with a line containing a single '.' (period). The format is:

      FD IP-ADDRESS CLIENT-ID : FUNCTION ...
    
  • --status

    This sends back a list of all registered functions. Next to each function is the number of jobs in the queue, the number of running jobs, and the number of capable workers. The columns are tab separated, and the list is terminated with a line containing a single '.' (period). The format is:

      FUNCTION\tTOTAL\tRUNNING\tAVAILABLE_WORKERS
    
  • --shutdown

    Shutdown the server immediately. Any jobs in non-durable queues will be lost.

  • --graceful

    Shutdown the server after preventing further jobs from being added to the queue, and allowing remaining jobs to complete. This can be useful if you want to fail jobs over to another server, but don't want to lose jobs that are already queued.

  • --version

    Report the server's version.

  • -h, --help

    Print a brief help message, then exit.

  • -m, --man

    Print the manual page, and then exit.

DESCRIPTION

gearctl is an alternative to gearadmin - one which provides the option to gracefully shutdown a gearman server.

gearctl's People

Contributors

mikeraynham avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar Simon Reekie avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.