1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
=========================
Gearman Command Line Tool
=========================
Command line client for Gearmand
--------
SYNOPSIS
--------
.. program:: gearman
**Common options**
.. option:: -f <function>
Function name to use for jobs (can give many)
.. option:: -h <host>
Job server host
.. option:: -H
Print this help menu
.. option:: -p <port>
Gearman server port
.. option:: -t <timeout>
Timeout in milliseconds
.. option:: -i <pidfile>
Create a pidfile for the process
.. option:: -n
In client mode run one job per line, in worker mode send data packet for each line
.. option:: -N
Same as -n, but strip off the newline
**Client options**
.. option:: -b
Run jobs in the background
.. option:: -I
Run jobs as high priority
.. option:: -L
Run jobs as low priority
.. option:: -P
Prefix all output lines with functions names
.. option:: -s
Send job without reading from standard input
.. option:: -u <unique>
Unique key to use for job
*Worker options**
.. option:: -c <count>
Number of jobs for worker to run before exiting
.. option:: -w
Run in worker mode
-----------
DESCRIPTION
-----------
With gearman you can run client and worker functions from the command line.
----
HOME
----
To find out more information please check:
`http://gearman.info/ <http://gearman.info/>`_
--------
SEE ALSO
--------
:manpage:`gearmand(8)` :manpage:`libgearman(3)`
|