Sponsored Content
Top Forums Shell Programming and Scripting How to find the job and its location Post 302324746 by clem2610 on Thursday 11th of June 2009 03:41:45 PM
Old 06-11-2009
Network How to find the job and its location

Guys;
I first I thank you for helping me few times in the past;
A job runs every day at 8AM and looks for a file “abcd.txt” in directory “/usr/task/tmp”. How to find the job and its location. I need to change the file name to “abcd.dat”. it is UNIX environment.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find a pattern in a file at a particular location

Hi all, I have a question on how to search for a pattern in a file and return a value if it is present at that particular location. How to read each line and each character for the pattern in the file of any format. Eg for the file format: attached the file (1 Reply)
Discussion started by: sparks
1 Replies

2. What is on Your Mind?

do mind posting ur salary, location(not detailed), job field, work years here

do mind posting ur salary, location(not detailed), job field, work years here I dont you whether you guys are from different countries...but i guess most of you are from different countries, but all in all, we are acting as an ITer.... I just wanto know more about you never mind:p (0 Replies)
Discussion started by: macroideal
0 Replies

3. UNIX for Dummies Questions & Answers

Schedule a move job, from one location to another

There are two similar directory structures existing, e.g. old/ and new/, where old/d1/d2/d4/, old/d1/d2/d5/, old/d1/d3/d6/ and old/d1/d3/d7 contains some files and now I want to move those files from each folder to new locations new/d1/d2/d4/, new/d1/d2/d5/, new/d1/d3/d6/ and new/d1/d3/d6/. The... (1 Reply)
Discussion started by: abkush
1 Replies

4. UNIX for Dummies Questions & Answers

df -h command, can't seem to find real location

Hi, I need your help. I am at a new place, just trying to understand what's going on here. When I do df -h, I see many mounts. But most of them are automount, how do I find the real location? netappt1:/vol/homet2/sthan 1.7T 1.2T 527G 69% /home/sthan... (4 Replies)
Discussion started by: samnyc
4 Replies

5. Shell Programming and Scripting

using find to go directly into a directory location

is there any other useful command to go into a specific directory and not go into its subdirectories that operates similar to find.? (it will return the full pathname?) or is there any way to make find not go into the subdirectories of the specified directory? This is on ksh as well. (3 Replies)
Discussion started by: bjhum33
3 Replies

6. Red Hat

Find Computer Location

Hi, there, How to know location of a computer where its IP Address and Computer name is known? tx (5 Replies)
Discussion started by: budiantho_indra
5 Replies

7. Shell Programming and Scripting

How to find a existing file location and directory location in Solaris box?

Hi This is my third past and very impressed with previous post replies Hoping the same for below query How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies

8. UNIX for Dummies Questions & Answers

Find a set of files in a location

Hi, I am new to Unix. I need a script to check some 74 files are present in a particular location or not . (4 Replies)
Discussion started by: nid21
4 Replies

9. UNIX for Dummies Questions & Answers

Find the location of particular file and directory

hi all, i am new to UNIX environment. i have a file and directory with same name, i don't know the location I want to find location of that file and directory. please suggest a solution. (5 Replies)
Discussion started by: mahesh1987
5 Replies

10. Red Hat

Find cpu location

Hi guys we have come corrected errors and i would like to know where is cpu 23 located physicaly... :( here the lscpu output (2 socket, 6 cores intel cpu): # lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): ... (1 Reply)
Discussion started by: beta17
1 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)
All times are GMT -4. The time now is 07:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy