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_REMOVE_SERVERS(3) Gearmand GEARMAN_WORKER_REMOVE_SERVERS(3)NAME
gearman_worker_remove_servers - Gearmand Documentation, http://gearman.info/
SYNOPSIS
#include <libgearman/gearman.h>
gearman_return_t gearman_worker_add_server(gearman_worker_st *worker, const char *host, in_port_t port)
gearman_return_t gearman_worker_add_servers(gearman_worker_st *worker, const char *servers)
void gearman_worker_remove_servers(gearman_worker_st *worker)
Link with -lgearman
DESCRIPTION
gearman_worker_add_server() will add an additional gearmand server to the list of servers that the worker will take work from.
gearman_worker_remove_servers() will remove all servers from the gearman_worker_st.
gearman_worker_add_servers() takes a list of gearmand servers that will be parsed to provide servers for the worker. The format for this is
SERVER[:PORT][,SERVER[:PORT]]...
Examples of this are:
10.0.0.1,10.0.0.2,10.0.0.3
localhost234,jobserver2.domain.com:7003,10.0.0.3
RETURN VALUE
gearman_worker_add_server() and gearman_worker_remove_servers() return gearman_return_t.
HOME
To find out more information please check: http://gearman.info/
See also
gearmand ../libgearman gearman_worker_st
AUTHOR
Data Differential http://www.datadifferential.com/
COPYRIGHT
2012, Data Differential, http://www.datadifferential.com/
0.33 May 04, 2012 GEARMAN_WORKER_REMOVE_SERVERS(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)