9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Input file
SFSQW 5192.56
HNRNPK 611.486
QEQW 1202.15
ASDR 568.627
QWET 6382.11
SFSQW 4386.3
HNRNPK 100
SFSQW 500
Desired output file
SFSQW 10078.86 3
QWET 6382.11 1
QEQW 1202.15 1
HNRNPK 711.49 2
ASDR 568.63 1
The way I tried: (2 Replies)
Discussion started by: patrick87
2 Replies
2. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
3. Shell Programming and Scripting
Hey!
I'm working on a script that will add a user, create some configfiles, and add a crontab for the user.
The crontab looks like the following:
@reboot /home/user/program config.conf &
I would like for this process to start at the end of my script under the corresponding username by... (0 Replies)
Discussion started by: noratx
0 Replies
4. IP Networking
I new to linux and am setting up a slice server. I actually made it to installing Apache but some how I messed up the ip tables. I cant access the server by sftp or putty. Im using the web interface at slice. I am logged in as a super user but cant do certain funtions. I guess i need to be logged... (0 Replies)
Discussion started by: DigitalExtreme
0 Replies
5. UNIX for Dummies Questions & Answers
in new to the Linux os just install kubuntu with has beryl went through the whole deal with setting up everything and was wondering if anybody could help me figure out beryl i basically understand how it works but getting it to do the cube thing escape me help........:confused: (0 Replies)
Discussion started by: ksnovice
0 Replies
6. UNIX for Dummies Questions & Answers
Ok, another fun hiccup in my UNIX learning curve. I am trying to count the number of occurrences of an IP address across multiple files named example.hits. I can extract the number of occurrences from the files individually but when you use grep -c with multiple files you get the output similar to... (5 Replies)
Discussion started by: MrAd
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
First of all. I'm a Unix newbe and never worked with unix (but I have got Linux for a few months), but I'd like to know where to get Unix or if it's x86 compatibel and all those questions. I know...ridiculous questions, but I really wanna know this.
So: Where do I get Unix?
Is it compatible... (1 Reply)
Discussion started by: Kotzkroete
1 Replies
8. UNIX for Dummies Questions & Answers
Hi all, i'm new here and to Unix and have a question about more help then I am getting. I live basically in Portland, OR and am attending college and have to take some Unix classes for my degree. Well class is fine and the help from the instructor is ok but I would like to receive more help then... (5 Replies)
Discussion started by: lisdog58
5 Replies
9. Linux
Okay, I have Mandrake Linux 9.1. I'm trying to set up different software sources from the source manager. My problem is, I know where I want the software to come from, but I don't know what to put in the "Relative path to synthesis/hdlist" area. Can someone help me and explain exactly what the... (3 Replies)
Discussion started by: Shadowmane
3 Replies
GEARMAN_JOB_FUNCTION_NAME(3) Gearmand GEARMAN_JOB_FUNCTION_NAME(3)
NAME
gearman_job_function_name - Gearmand Documentation, http://gearman.info/
SYNOPSIS
#include <libgearman/gearman.h>
gearman_job_st
void gearman_job_free(gearman_job_st *job)
gearman_return_t gearman_job_send_data(gearman_job_st *job, const void *data, size_t data_size)
gearman_return_t gearman_job_send_warning(gearman_job_st *job, const void *warning, size_t warning_size)
gearman_return_t gearman_job_send_status(gearman_job_st *job, uint32_t numerator, uint32_t denominator)
gearman_return_t gearman_job_send_complete(gearman_job_st *job, const void *result, size_t result_size)
gearman_return_t gearman_job_send_exception(gearman_job_st *job, const void *exception, size_t exception_size)
gearman_return_t gearman_job_send_fail(gearman_job_st *job)
const char *gearman_job_handle(const gearman_job_st *job)
const char *gearman_job_function_name(const gearman_job_st *job)
const char *gearman_job_unique(const gearman_job_st *job)
const void *gearman_job_workload(const gearman_job_st *job)
size_t gearman_job_workload_size(const gearman_job_st *job)
void *gearman_job_take_workload(gearman_job_st *job, size_t *data_size)
Link with -lgearman
DESCRIPTION
gearman_job_st are passed to worker functions to represent jobs that are being run by gearman_worker_work().
gearman_job_free() is used to free a job. This only needs to be done if a task was created with a preallocated structure.
gearman_job_handle() returns the job handle(see gearman_job_handle_t for more information).
gearman_job_function_name() return the name of the function that the job was set to execute against.
gearman_job_unique() return the unique value that was used for gearman_job_st.
returns the gearman_job_st workload. The size of it can be determined with gearman_job_workload_size(). gearman_job_take_workload() is the
same as gearman_job_workload() with the exception that the result must be free(3) by the caller.
RETURN VALUE
A value of gearman_return_t is returned. On success that value will be :c:type::GEARMAN_SUCCESS. Use gearman_strerror() to translate
this value to a printable string.
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_JOB_FUNCTION_NAME(3)