gearman.1 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. .TH "GEARMAN" "1" "November 03, 2011" "0.24" "Gearmand"
  2. .SH NAME
  3. gearman \- Gearmand Documentation, http://gearman.info/
  4. .
  5. .nr rst2man-indent-level 0
  6. .
  7. .de1 rstReportMargin
  8. \\$1 \\n[an-margin]
  9. level \\n[rst2man-indent-level]
  10. level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
  11. -
  12. \\n[rst2man-indent0]
  13. \\n[rst2man-indent1]
  14. \\n[rst2man-indent2]
  15. ..
  16. .de1 INDENT
  17. .\" .rstReportMargin pre:
  18. . RS \\$1
  19. . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
  20. . nr rst2man-indent-level +1
  21. .\" .rstReportMargin post:
  22. ..
  23. .de UNINDENT
  24. . RE
  25. .\" indent \\n[an-margin]
  26. .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
  27. .nr rst2man-indent-level -1
  28. .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
  29. .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
  30. ..
  31. .\" Man page generated from reStructeredText.
  32. .
  33. .sp
  34. Command line client for Gearmand
  35. .SH SYNOPSIS
  36. .sp
  37. \fBCommon options\fP
  38. .INDENT 0.0
  39. .TP
  40. .B \-f <function>
  41. .sp
  42. Function name to use for jobs (can give many)
  43. .UNINDENT
  44. .INDENT 0.0
  45. .TP
  46. .B \-h <host>
  47. .sp
  48. Job server host
  49. .UNINDENT
  50. .INDENT 0.0
  51. .TP
  52. .B \-H
  53. .
  54. Print this help menu
  55. .UNINDENT
  56. .INDENT 0.0
  57. .TP
  58. .B \-p <port>
  59. .sp
  60. Gearman server port
  61. .UNINDENT
  62. .INDENT 0.0
  63. .TP
  64. .B \-t <timeout>
  65. .sp
  66. Timeout in milliseconds
  67. .UNINDENT
  68. .INDENT 0.0
  69. .TP
  70. .B \-i <pidfile>
  71. .sp
  72. Create a pidfile for the process
  73. .UNINDENT
  74. .INDENT 0.0
  75. .TP
  76. .B \-n
  77. .
  78. In client mode run one job per line, in worker mode send data packet for each line
  79. .UNINDENT
  80. .INDENT 0.0
  81. .TP
  82. .B \-N
  83. .
  84. Same as \-n, but strip off the newline
  85. .UNINDENT
  86. .sp
  87. \fBClient options\fP
  88. .INDENT 0.0
  89. .TP
  90. .B \-b
  91. .
  92. Run jobs in the background
  93. .UNINDENT
  94. .INDENT 0.0
  95. .TP
  96. .B \-I
  97. .
  98. Run jobs as high priority
  99. .UNINDENT
  100. .INDENT 0.0
  101. .TP
  102. .B \-L
  103. .
  104. Run jobs as low priority
  105. .UNINDENT
  106. .INDENT 0.0
  107. .TP
  108. .B \-P
  109. .
  110. Prefix all output lines with functions names
  111. .UNINDENT
  112. .INDENT 0.0
  113. .TP
  114. .B \-s
  115. .
  116. Send job without reading from standard input
  117. .UNINDENT
  118. .INDENT 0.0
  119. .TP
  120. .B \-u <unique>
  121. .sp
  122. Unique key to use for job
  123. .UNINDENT
  124. .sp
  125. \fIWorker options*\fP
  126. .INDENT 0.0
  127. .TP
  128. .B \-c <count>
  129. .sp
  130. Number of jobs for worker to run before exiting
  131. .UNINDENT
  132. .INDENT 0.0
  133. .TP
  134. .B \-w
  135. .
  136. Run in worker mode
  137. .UNINDENT
  138. .SH DESCRIPTION
  139. .sp
  140. With gearman you can run client and worker functions from the command line.
  141. .SH HOME
  142. .sp
  143. To find out more information please check:
  144. \fI\%http://gearman.info/\fP
  145. .SH SEE ALSO
  146. .sp
  147. \fIgearmand(8)\fP \fIlibgearman(3)\fP
  148. .SH AUTHOR
  149. Data Differential http://datadifferential.com/
  150. .SH COPYRIGHT
  151. 2011, Data Differential, http://datadifferential.com/
  152. .\" Generated by docutils manpage writer.
  153. .\"
  154. .