GEARMAN(1)
π NAME π
gearman β Gearmand Documentation, https://gearman.org/gearmand/. Basically this is the command line client for Gearmand, bestie, and this page is GEARMAN(1) πβ¨
β¨ SYNOPSIS β¨
Okay so here's the lineup: common options first, then client options, then worker options. All the facts are below, no cap π
π Common options
-f <function>β Function name to use for jobs (and yes, you can give many π«Ά).-h <host>β Job server host.-Hβ Print this help menu.-p <port>β Gearman server port.-t <timeout>β Timeout in milliseconds.-i <pidfile>β Create a pidfile for the process.-nβ In client mode run one job per line; in worker mode send data packet for each line.-Nβ Same as-n, but strip off the newline.-Sβ Enable SSL connections. Certificate paths are taken from the environment variablesGEARMAND_CA_CERTIFICATE,GEARMAN_CLIENT_PEM, andGEARMAN_CLIENT_KEYenvironment variables or from the libgearman compile-time defaults π
π Client options
--pingβ Send anECHOrequest to the job server and exit. No worker is required. Useful as a connectivity / health check. Exit status is0on success, non-zero on failure. When-tis omitted, a2-second timeout is used. With-v, it printsping OKon success. Obsessed with a good health check. π©Ί-bβ Run jobs in the background.-Iβ Run jobs as high priority.-Lβ Run jobs as low priority.
Priority tea β: job assignment priority is global across registered functions: a high priority job for any function is assigned before normal or low priority jobs for other functions. Periodt.
-Pβ Prefix all output lines with functions names.-sβ Send job without reading from standard input.-u <unique>β Unique key to use for job.
π οΈ Worker options* π οΈ
Yes, the little * is part of the name. Iconic.
-c <count>β Number of jobs for worker to run before exiting.-wβ Run in worker mode.
πΈ DESCRIPTION πΈ
With gearman you can run client and worker functions from the command line. That's the whole vibe. β¨
In ping mode (--ping), gearman only checks that a job server responds to an ECHO request. No function name (-f) and no worker are required. This is suitable for process supervisors and container health checks, for example:
gearman --ping -h example.com -p 4730
gearman --ping -h 127.0.0.1 -p 47300 -S -t 2000
The environmental variable GEARMAN_SERVER can be used to specify multiple gearmand servers. Please see the c:func:'gearman_client_add_servers' for an explanation of the required syntax π
π HOME π
To find out more information please check: https://gearman.org/gearmand/ π
π SEE ALSO π
π AUTHOR π
Data Differential http://www.datadifferential.com/ β yes, that's the author line, bestie π
π COPYRIGHT π
2011-2014, Data Differential, http://www.datadifferential.com/ π
Okay bye bestie, this was version 2.2.0, dated Oct 18, 2026, signing off from the GEARMAN(1) manual πβ¨π«Ά
π¦ where this page comes from
- arch rolling: gearmand 2.2.0-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms