GEARMAN(1) Gearmand GEARMAN(1)NAME
gearman - Gearmand Documentation, http://gearman.info/
Command line client for Gearmand
SYNOPSIS
Common options
-f <function>
Function name to use for jobs (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
Client options
-b Run jobs in the background
-I Run jobs as high priority
-L Run jobs as low priority
-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*
-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.
HOME
To find out more information please check: http://gearman.info/
SEE ALSO gearmand(8)libgearman(3)AUTHOR
Data Differential http://www.datadifferential.com/
COPYRIGHT
2012, Data Differential, http://www.datadifferential.com/
0.33 May 04, 2012 GEARMAN(1)
Check Out this Related Man Page
GEARMAN_WORKER_SET_OPTIONS(3) Gearmand GEARMAN_WORKER_SET_OPTIONS(3)NAME
gearman_worker_set_options - Gearmand Documentation, http://gearman.info/
SYNOPSIS
#include <libgearman/gearman.h>
gearman_worker_options_t
gearman_worker_options_t gearman_worker_options(const gearman_worker_st *worker)
void gearman_worker_add_options(gearman_worker_st *worker, gearman_worker_options_t options)
void gearman_worker_remove_options(gearman_worker_st *worker, gearman_worker_options_t options)
void gearman_worker_set_options(gearman_worker_st *worker, gearman_worker_options_t options)
Deprecated since version 0.21.
DESCRIPTION
gearman_worker_options() returns the gearman_worker_options_t for gearman_worker_st. You enable options via gearman_worker_add_options()
and disable options via gearman_worker_remove_options().
The currently supported options are:
Enable non-block IO for the worker.
GEARMAN_WORKER_GRAB_UNIQ
Only grab jobs that have been assigned unique values. This is useful for workers who only want to worker with background jobs.
GEARMAN_WORKER_TIMEOUT_RETURN
Has a return timeout been set for the worker.
RETURN VALUE
Various
HOME
To find out more information please check: http://gearman.info/
See also
gearmand(8)libgearman(3)AUTHOR
Data Differential http://www.datadifferential.com/
COPYRIGHT
2012, Data Differential, http://www.datadifferential.com/
0.33 May 04, 2012 GEARMAN_WORKER_SET_OPTIONS(3)
I'm trying to do the following:
1) Run a bunch of jobs in the background
2) Determine if any one of them returns with a non-zero exit status
Here's what I've come up with so far:
##########################################
#!/bin/ksh
while } -lt 1024 ]
do
SLEEP_TIME=`expr 1024 -... (2 Replies)
Hello,
The issue of this job is to build a Lodel+servoo server (this is a CMS cf. http://www.servoo.net/document.php?id=20 and http://www.lodel.org/document136.html).
But I had a problem to install the ports open-office1.x. when I launch the make install it tell me to type a make... (0 Replies)
Hi Dears ,
Sometimes when I read about AIX in IBM world or when I try to see some jobs that are related to UNIX (any flavor) .....I wonder in myself if someone wanted to work in this field should know everything about script or that is not necessary , so If my friends in this fourm had a good... (3 Replies)
Hi,
I am having issues with syntax when I am trying to send a job to the background after a input redirection.
I have this script which sends some files to different servers after zipping them. Once I execute it, it will ask for user input as of which server the files need to go to. (The... (3 Replies)