Debian Codegraph @

debian/manpage.celery.sgml

raw
1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
2
3 <!-- Process this file with docbook-to-man to generate an nroff manual
4 page: `docbook-to-man manpage.sgml > manpage.1'. You may view
5 the manual page with: `docbook-to-man manpage.sgml | nroff -man |
6 less'. A typical entry in a Makefile or Makefile.am is:
7
8 manpage.1: manpage.sgml
9 docbook-to-man $< > $@
10
11
12 The docbook-to-man binary is found in the docbook-to-man package.
13 Please remember that if you create the nroff version in one of the
14 debian/rules file targets (such as build), you will need to include
15 docbook-to-man in your Build-Depends control field.
16
17 -->
18
19 <!-- Fill in your name for FIRSTNAME and SURNAME. -->
20 <!ENTITY dhfirstname "<firstname>Michael</firstname>">
21 <!ENTITY dhsurname "<surname>Fladischer</surname>">
22 <!-- Please adjust the date whenever revising the manpage. -->
23 <!ENTITY dhdate "<date>12 July 2013</date>">
24 <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
25 allowed: see man(7), man(1). -->
26 <!ENTITY dhsection "<manvolnum>1</manvolnum>">
27 <!ENTITY dhemail "<email>[email protected]</email>">
28 <!ENTITY dhusername "fladi">
29 <!ENTITY dhucpackage "<refentrytitle>CELERY</refentrytitle>">
30 <!ENTITY dhpackage "celery">
31
32 <!ENTITY debian "<productname>Debian</productname>">
33 <!ENTITY gnu "<acronym>GNU</acronym>">
34 <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
35 ]>
36
37 <refentry>
38 <refentryinfo>
39 <address>
40 &dhemail;
41 </address>
42 <author>
43 &dhfirstname;
44 &dhsurname;
45 </author>
46 <copyright>
47 <year>2013</year>
48 <holder>&dhusername;</holder>
49 </copyright>
50 &dhdate;
51 </refentryinfo>
52 <refmeta>
53 &dhucpackage;
54
55 &dhsection;
56 </refmeta>
57 <refnamediv>
58 <refname>&dhpackage;</refname>
59
60 <refpurpose>Celery Worker Daemon</refpurpose>
61 </refnamediv>
62 <refsynopsisdiv>
63 <cmdsynopsis>
64 <command>&dhpackage;</command>
65 <arg>command</arg>
66
67 <arg><option>-A/--app=<replaceable>APP</replaceable></option></arg>
68 <arg><option>-b/--broker=<replaceable>BROKER</replaceable></option></arg>
69 <arg><option>--loader=<replaceable>LOADER</replaceable></option></arg>
70 <arg><option>--config=<replaceable>CONFIG</replaceable></option></arg>
71 <arg><option>--workdir=<replaceable>WORKING_DIRECTORY</replaceable></option></arg>
72 <arg><option>-q/--quiet</option></arg>
73 <arg><option>-C/--no-color</option></arg>
74 <arg><option>--version</option></arg>
75 <arg><option>--help</option></arg>
76 </cmdsynopsis>
77 </refsynopsisdiv>
78 <refsect1>
79 <title>DESCRIPTION</title>
80
81 <para>This manual page documents briefly the
82 <command>&dhpackage;</command> command.</para>
83
84 <para>This manual page was written for the &debian; distribution
85 because the original program does not have a manual page.</para>
86
87 <para>
88 <command>&dhpackage;</command> is a program that manages the
89 Celery Worker Daemons and their queues.
90 </para>
91
92 </refsect1>
93 <refsect1>
94 <title>COMMANDS</title>
95 <para>
96 All inspect commands supports a --timeout argument, This is the number of seconds to wait for responses. You may have to increase this timeout if
97 you’re not getting a response due to latency.
98 </para>
99 <variablelist>
100 <varlistentry>
101 <term>
102 <arg>shell</arg>
103 </term>
104 <listitem>
105 <para>
106 Drop into a Python shell. The locals will include the celery variable, which is the current app. Also all known tasks will be
107 automatically added to locals (unless the --without-tasks flag is set). Uses Ipython, bpython, or regular python in that order if
108 installed. You can force an implementation using --force-ipython|-I, --force-bpython|-B, or --force-python|-P.
109 </para>
110 </listitem>
111 </varlistentry>
112 <varlistentry>
113 <term>
114 <arg>status</arg>
115 </term>
116 <listitem>
117 <para>
118 List active nodes in this cluster.
119 </para>
120 </listitem>
121 </varlistentry>
122 <varlistentry>
123 <term>
124 <arg>result <option>-t <replaceable>task name</replaceable></option> <replaceable>uuid</replaceable></arg>
125 </term>
126 <listitem>
127 <para>
128 Show the result of a task. Note that you can omit the name of the task as long as the task doesn’t use a custom result backend.
129 </para>
130 </listitem>
131 </varlistentry>
132 <varlistentry>
133 <term>
134 <arg>purge</arg>
135 </term>
136 <listitem>
137 <para>
138 Purge messages from all configured task queues.
139 Warning: There is no undo for this operation, and messages will be permanently deleted!
140 </para>
141 </listitem>
142 </varlistentry>
143 <varlistentry>
144 <term>
145 <arg>inspect active</arg>
146 </term>
147 <listitem>
148 <para>
149 List active tasks. These are all the tasks that are currently being executed.
150 </para>
151 </listitem>
152 </varlistentry>
153 <varlistentry>
154 <term>
155 <arg>inspect scheduled</arg>
156 </term>
157 <listitem>
158 <para>
159 List scheduled ETA tasks. These are tasks reserved by the worker because they have the eta or countdown argument set.
160 </para>
161 </listitem>
162 </varlistentry>
163 <varlistentry>
164 <term>
165 <arg>inspect reserved</arg>
166 </term>
167 <listitem>
168 <para>
169 List reserved tasks. This will list all tasks that have been prefetched by the worker, and is currently waiting to be executed (does not
170 include tasks with an eta).
171 </para>
172 </listitem>
173 </varlistentry>
174 <varlistentry>
175 <term>
176 <arg>inspect revoked</arg>
177 </term>
178 <listitem>
179 <para>
180 List history of revoked tasks.
181 </para>
182 </listitem>
183 </varlistentry>
184 <varlistentry>
185 <term>
186 <arg>inspect registered</arg>
187 </term>
188 <listitem>
189 <para>
190 List registered tasks.
191 </para>
192 </listitem>
193 </varlistentry>
194 <varlistentry>
195 <term>
196 <arg>inspect stats</arg>
197 </term>
198 <listitem>
199 <para>
200 Show worker statistics.
201 </para>
202 </listitem>
203 </varlistentry>
204 <varlistentry>
205 <term>
206 <arg>control enable_events</arg>
207 </term>
208 <listitem>
209 <para>
210 Enable events.
211 </para>
212 </listitem>
213 </varlistentry>
214 <varlistentry>
215 <term>
216 <arg>control disable_events</arg>
217 </term>
218 <listitem>
219 <para>
220 Disable events.
221 </para>
222 </listitem>
223 </varlistentry>
224 <varlistentry>
225 <term>
226 <arg>migrate <replaceable>from</replaceable> <replaceable>to</replaceable></arg>
227 </term>
228 <listitem>
229 <para>
230 Migrate tasks from one broker to another (EXPERIMENTAL). This command will migrate all the tasks on one broker to another. As this
231 command is new and experimental you should be sure to have a backup of the data before proceeding. The value for each broker should be
232 a URL.
233 </para>
234 </listitem>
235 </varlistentry>
236 </variablelist>
237 </refsect1>
238 <refsect1>
239 <title>OPTIONS</title>
240
241 <para>This program follows the usual &gnu; command line syntax,
242 with long options starting with two dashes (`-'). A summary of
243 options is included below.</para>
244
245 <variablelist>
246 <varlistentry>
247 <term>
248 <option>-A <replaceable class="parameter">APP</replaceable></option>
249 <option>--app=<replaceable class="parameter">APP</replaceable></option>
250 </term>
251 <listitem>
252 <para>App instance to use (e.g. module.attr_name).</para>
253 </listitem>
254 </varlistentry>
255 <varlistentry>
256 <term>
257 <option>-b <replaceable class="parameter">BROKER</replaceable></option>
258 <option>--broker=<replaceable class="parameter">BROKER</replaceable></option>
259 </term>
260 <listitem>
261 <para>URL to the broker. Default is 'amqp://guest@localhost//'.</para>
262 </listitem>
263 </varlistentry>
264 <varlistentry>
265 <term>
266 <option>--loader=<replaceable class="parameter">LOADER</replaceable></option>
267 </term>
268 <listitem>
269 <para>name of custom loader class to use.</para>
270 </listitem>
271 </varlistentry>
272 <varlistentry>
273 <term>
274 <option>--config=<replaceable class="parameter">CONFIG</replaceable></option>
275 </term>
276 <listitem>
277 <para>Name of the configuration module.</para>
278 </listitem>
279 </varlistentry><varlistentry>
280 <term>
281 <option>--workdir=<replaceable class="parameter">WORKING_DIRECTORY</replaceable></option>
282 </term>
283 <listitem>
284 <para>Optional directory to change to after detaching.</para>
285 </listitem>
286 </varlistentry>
287 <varlistentry>
288 <term>
289 <option>--quiet</option>
290 </term>
291 </varlistentry>
292 <varlistentry>
293 <term>
294 <option>-C</option>
295 <option>--no-color</option>
296 </term>
297 </varlistentry>
298 <varlistentry>
299 <term>
300 <option>--version</option>
301 </term>
302 <listitem>
303 <para>Show program's version number and exit.</para>
304 </listitem>
305 </varlistentry>
306 <varlistentry>
307 <term>
308 <option>-h</option>
309 <option>--help</option>
310 </term>
311 <listitem>
312 <para>Show help message and exit.</para>
313 </listitem>
314 </varlistentry>
315 </variablelist>
316 </refsect1>
317 <refsect1>
318 <title>SEE ALSO</title>
319
320 <para>celeryd(1), celerybeat (1), celeryctl (1).</para>
321 </refsect1>
322 <refsect1>
323 <title>AUTHOR</title>
324
325 <para>This manual page was written by &dhusername; &dhemail; for
326 the &debian; system (and may be used by others). Permission is
327 granted to copy, distribute and/or modify this document under
328 the terms of the &gnu; General Public License, Version 2 any
329 later version published by the Free Software Foundation.
330 </para>
331 <para>
332 On Debian systems, the complete text of the GNU General Public
333 License can be found in /usr/share/common-licenses/GPL.
334 </para>
335
336 </refsect1>
337 </refentry>
338
339 <!-- Keep this comment at the end of the file
340 Local variables:
341 mode: sgml
342 sgml-omittag:t
343 sgml-shorttag:t
344 sgml-minimize-attributes:nil
345 sgml-always-quote-attributes:t
346 sgml-indent-step:2
347 sgml-indent-data:t
348 sgml-parent-document:nil
349 sgml-default-dtd-file:nil
350 sgml-exposed-tags:nil
351 sgml-local-catalogs:nil
352 sgml-local-ecat-files:nil
353 End:
354 -->
355 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
356
357 <!-- Process this file with docbook-to-man to generate an nroff manual
358 page: `docbook-to-man manpage.sgml > manpage.1'. You may view
359 the manual page with: `docbook-to-man manpage.sgml | nroff -man |
360 less'. A typical entry in a Makefile or Makefile.am is:
361
362 manpage.1: manpage.sgml
363 docbook-to-man $< > $@
364
365
366 The docbook-to-man binary is found in the docbook-to-man package.
367 Please remember that if you create the nroff version in one of the
368 debian/rules file targets (such as build), you will need to include
369 docbook-to-man in your Build-Depends control field.
370
371 -->
372
373 <!-- Fill in your name for FIRSTNAME and SURNAME. -->
374 <!ENTITY dhfirstname "<firstname>Michael</firstname>">
375 <!ENTITY dhsurname "<surname>Fladischer</surname>">
376 <!-- Please adjust the date whenever revising the manpage. -->
377 <!ENTITY dhdate "<date>12 July 2013</date>">
378 <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
379 allowed: see man(7), man(1). -->
380 <!ENTITY dhsection "<manvolnum>1</manvolnum>">
381 <!ENTITY dhemail "<email>[email protected]</email>">
382 <!ENTITY dhusername "fladi">
383 <!ENTITY dhucpackage "<refentrytitle>CELERY</refentrytitle>">
384 <!ENTITY dhpackage "celery">
385
386 <!ENTITY debian "<productname>Debian</productname>">
387 <!ENTITY gnu "<acronym>GNU</acronym>">
388 <!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
389 ]>
390
391 <refentry>
392 <refentryinfo>
393 <address>
394 &dhemail;
395 </address>
396 <author>
397 &dhfirstname;
398 &dhsurname;
399 </author>
400 <copyright>
401 <year>2013</year>
402 <holder>&dhusername;</holder>
403 </copyright>
404 &dhdate;
405 </refentryinfo>
406 <refmeta>
407 &dhucpackage;
408
409 &dhsection;
410 </refmeta>
411 <refnamediv>
412 <refname>&dhpackage;</refname>
413
414 <refpurpose>Celery Worker Daemon</refpurpose>
415 </refnamediv>
416 <refsynopsisdiv>
417 <cmdsynopsis>
418 <command>&dhpackage;</command>
419 <arg>command</arg>
420
421 <arg><option>-A/--app=<replaceable>APP</replaceable></option></arg>
422 <arg><option>-b/--broker=<replaceable>BROKER</replaceable></option></arg>
423 <arg><option>--loader=<replaceable>LOADER</replaceable></option></arg>
424 <arg><option>--config=<replaceable>CONFIG</replaceable></option></arg>
425 <arg><option>--workdir=<replaceable>WORKING_DIRECTORY</replaceable></option></arg>
426 <arg><option>-q/--quiet</option></arg>
427 <arg><option>-C/--no-color</option></arg>
428 <arg><option>--version</option></arg>
429 <arg><option>--help</option></arg>
430 </cmdsynopsis>
431 </refsynopsisdiv>
432 <refsect1>
433 <title>DESCRIPTION</title>
434
435 <para>This manual page documents briefly the
436 <command>&dhpackage;</command> command.</para>
437
438 <para>This manual page was written for the &debian; distribution
439 because the original program does not have a manual page.</para>
440
441 <para>
442 <command>&dhpackage;</command> is a program that manages the
443 Celery Worker Daemons and their queues.
444 </para>
445
446 </refsect1>
447 <refsect1>
448 <title>COMMANDS</title>
449 <para>
450 All inspect commands supports a --timeout argument, This is the number of seconds to wait for responses. You may have to increase this timeout if
451 you’re not getting a response due to latency.
452 </para>
453 <variablelist>
454 <varlistentry>
455 <term>
456 <arg>shell</arg>
457 </term>
458 <listitem>
459 <para>
460 Drop into a Python shell. The locals will include the celery variable, which is the current app. Also all known tasks will be
461 automatically added to locals (unless the --without-tasks flag is set). Uses Ipython, bpython, or regular python in that order if
462 installed. You can force an implementation using --force-ipython|-I, --force-bpython|-B, or --force-python|-P.
463 </para>
464 </listitem>
465 </varlistentry>
466 <varlistentry>
467 <term>
468 <arg>status</arg>
469 </term>
470 <listitem>
471 <para>
472 List active nodes in this cluster.
473 </para>
474 </listitem>
475 </varlistentry>
476 <varlistentry>
477 <term>
478 <arg>result <option>-t <replaceable>task name</replaceable></option> <replaceable>uuid</replaceable></arg>
479 </term>
480 <listitem>
481 <para>
482 Show the result of a task. Note that you can omit the name of the task as long as the task doesn’t use a custom result backend.
483 </para>
484 </listitem>
485 </varlistentry>
486 <varlistentry>
487 <term>
488 <arg>purge</arg>
489 </term>
490 <listitem>
491 <para>
492 Purge messages from all configured task queues.
493 Warning: There is no undo for this operation, and messages will be permanently deleted!
494 </para>
495 </listitem>
496 </varlistentry>
497 <varlistentry>
498 <term>
499 <arg>inspect active</arg>
500 </term>
501 <listitem>
502 <para>
503 List active tasks. These are all the tasks that are currently being executed.
504 </para>
505 </listitem>
506 </varlistentry>
507 <varlistentry>
508 <term>
509 <arg>inspect scheduled</arg>
510 </term>
511 <listitem>
512 <para>
513 List scheduled ETA tasks. These are tasks reserved by the worker because they have the eta or countdown argument set.
514 </para>
515 </listitem>
516 </varlistentry>
517 <varlistentry>
518 <term>
519 <arg>inspect reserved</arg>
520 </term>
521 <listitem>
522 <para>
523 List reserved tasks. This will list all tasks that have been prefetched by the worker, and is currently waiting to be executed (does not
524 include tasks with an eta).
525 </para>
526 </listitem>
527 </varlistentry>
528 <varlistentry>
529 <term>
530 <arg>inspect revoked</arg>
531 </term>
532 <listitem>
533 <para>
534 List history of revoked tasks.
535 </para>
536 </listitem>
537 </varlistentry>
538 <varlistentry>
539 <term>
540 <arg>inspect registered</arg>
541 </term>
542 <listitem>
543 <para>
544 List registered tasks.
545 </para>
546 </listitem>
547 </varlistentry>
548 <varlistentry>
549 <term>
550 <arg>inspect stats</arg>
551 </term>
552 <listitem>
553 <para>
554 Show worker statistics.
555 </para>
556 </listitem>
557 </varlistentry>
558 <varlistentry>
559 <term>
560 <arg>control enable_events</arg>
561 </term>
562 <listitem>
563 <para>
564 Enable events.
565 </para>
566 </listitem>
567 </varlistentry>
568 <varlistentry>
569 <term>
570 <arg>control disable_events</arg>
571 </term>
572 <listitem>
573 <para>
574 Disable events.
575 </para>
576 </listitem>
577 </varlistentry>
578 <varlistentry>
579 <term>
580 <arg>migrate <replaceable>from</replaceable> <replaceable>to</replaceable></arg>
581 </term>
582 <listitem>
583 <para>
584 Migrate tasks from one broker to another (EXPERIMENTAL). This command will migrate all the tasks on one broker to another. As this
585 command is new and experimental you should be sure to have a backup of the data before proceeding. The value for each broker should be
586 a URL.
587 </para>
588 </listitem>
589 </varlistentry>
590 </variablelist>
591 </refsect1>
592 <refsect1>
593 <title>OPTIONS</title>
594
595 <para>This program follows the usual &gnu; command line syntax,
596 with long options starting with two dashes (`-'). A summary of
597 options is included below.</para>
598
599 <variablelist>
600 <varlistentry>
601 <term>
602 <option>-A <replaceable class="parameter">APP</replaceable></option>
603 <option>--app=<replaceable class="parameter">APP</replaceable></option>
604 </term>
605 <listitem>
606 <para>App instance to use (e.g. module.attr_name).</para>
607 </listitem>
608 </varlistentry>
609 <varlistentry>
610 <term>
611 <option>-b <replaceable class="parameter">BROKER</replaceable></option>
612 <option>--broker=<replaceable class="parameter">BROKER</replaceable></option>
613 </term>
614 <listitem>
615 <para>URL to the broker. Default is 'amqp://guest@localhost//'.</para>
616 </listitem>
617 </varlistentry>
618 <varlistentry>
619 <term>
620 <option>--loader=<replaceable class="parameter">LOADER</replaceable></option>
621 </term>
622 <listitem>
623 <para>name of custom loader class to use.</para>
624 </listitem>
625 </varlistentry>
626 <varlistentry>
627 <term>
628 <option>--config=<replaceable class="parameter">CONFIG</replaceable></option>
629 </term>
630 <listitem>
631 <para>Name of the configuration module.</para>
632 </listitem>
633 </varlistentry><varlistentry>
634 <term>
635 <option>--workdir=<replaceable class="parameter">WORKING_DIRECTORY</replaceable></option>
636 </term>
637 <listitem>
638 <para>Optional directory to change to after detaching.</para>
639 </listitem>
640 </varlistentry>
641 <varlistentry>
642 <term>
643 <option>--quiet</option>
644 </term>
645 </varlistentry>
646 <varlistentry>
647 <term>
648 <option>-C</option>
649 <option>--no-color</option>
650 </term>
651 </varlistentry>
652 <varlistentry>
653 <term>
654 <option>--version</option>
655 </term>
656 <listitem>
657 <para>Show program's version number and exit.</para>
658 </listitem>
659 </varlistentry>
660 <varlistentry>
661 <term>
662 <option>-h</option>
663 <option>--help</option>
664 </term>
665 <listitem>
666 <para>Show help message and exit.</para>
667 </listitem>
668 </varlistentry>
669 </variablelist>
670 </refsect1>
671 <refsect1>
672 <title>SEE ALSO</title>
673
674 <para>celeryd(1), celerybeat (1), celeryctl (1).</para>
675 </refsect1>
676 <refsect1>
677 <title>AUTHOR</title>
678
679 <para>This manual page was written by &dhusername; &dhemail; for
680 the &debian; system (and may be used by others). Permission is
681 granted to copy, distribute and/or modify this document under
682 the terms of the &gnu; General Public License, Version 2 any
683 later version published by the Free Software Foundation.
684 </para>
685 <para>
686 On Debian systems, the complete text of the GNU General Public
687 License can be found in /usr/share/common-licenses/GPL.
688 </para>
689
690 </refsect1>
691 </refentry>
692
693 <!-- Keep this comment at the end of the file
694 Local variables:
695 mode: sgml
696 sgml-omittag:t
697 sgml-shorttag:t
698 sgml-minimize-attributes:nil
699 sgml-always-quote-attributes:t
700 sgml-indent-step:2
701 sgml-indent-data:t
702 sgml-parent-document:nil
703 sgml-default-dtd-file:nil
704 sgml-exposed-tags:nil
705 sgml-local-catalogs:nil
706 sgml-local-ecat-files:nil
707 End:
708 -->