Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Pls help : file stamp issue on HP UX Servers Post 302125188 by kamitsin on Wednesday 4th of July 2007 10:23:36 AM
Old 07-04-2007
and no duplicate posting. See the rules of the forum !!!!!!!
kamitsin
 

10 More Discussions You Might Find Interesting

1. Solaris

I will do Maintenance for my Servers ... pls help

Dear All, My manager asked me to make full maintenance for my Sun Servers , to improve the performance. What do suggest ? what is the major things I have to do ? with some details pls because I am new admin for the System. (currently we don't have any errors or any problem in the system... (5 Replies)
Discussion started by: ArabOracle.com
5 Replies

2. UNIX for Advanced & Expert Users

File timestamp issue on HP servers

Hi All , I have a file which gets updated by a korn job daily . The file gets the latest timestamp on everyrun. But of late i have observed that the file timestamp gets modified to a older date ( Oct 25 2006 ) at some point in time of the day. This change has nothing to do with the job which... (5 Replies)
Discussion started by: siddaonline
5 Replies

3. UNIX for Dummies Questions & Answers

Unix:mail sending issue..pls help me soon

Hi people Can u help me aorund on this cat $DISTRIBUTION_LIST | tail -1 | read mailtolist test -s $INOVOICES.dat if then echo " Sales Report generted" | read subject mailx -ms "${subject}." $mailtolist RET_CODE=$? if ; then echo "Messaging Failed." >> $LOG_FILE exit 1 fi else... (2 Replies)
Discussion started by: bobprabhu
2 Replies

4. Shell Programming and Scripting

Perl, time stamp issue. 60th minutes

Hi Guys, Could you tell me how you can get the time stamp for 60th minutes? Currently, we name our file using time stamp upto minutes and then add seconds at the end starting from 01. And when the seconds reaches 60 we simply add 1 to the time stamp and reset the seconds to 00. But the... (3 Replies)
Discussion started by: supaLucas
3 Replies

5. Solaris

gzip a file and append creation date stamp to file

I want to gzip a file and append the creation date to the end of the file. How can I accomplish this task. Basically they are log files which need a creation date stamp appended to make sure they do not overwrite other log files. -jack (3 Replies)
Discussion started by: jacktravine
3 Replies

6. Shell Programming and Scripting

Issue faced while accessing data from files on different servers.

I have two log files of same name and structure which resides on different servers with ssh-keygen installed. I want to search for a list of strings available in an array on last 15 minutes logs of both files and calculate the total count of occurence of each string. Sample format of both file... (0 Replies)
Discussion started by: poweroflinux
0 Replies

7. Shell Programming and Scripting

file time stamp

Hi All, I am facing small problem. i want to print file time stamp on which date file has placed in the server. i have given some code but its not giving the year. any help appreciated. regards rajesh. (4 Replies)
Discussion started by: rajesh_pola
4 Replies

8. UNIX for Dummies Questions & Answers

Permissision issue, pls. explain

I have a directory, user name sam 755 drwxr-xr-x 3 sam oper 6 Apr 23 15:57 sam I log in as root, I can't write to sam folder. if the file already there, I can change that permission but it doesn't allow me to create any files in the above folder. Why, I thought root has... (2 Replies)
Discussion started by: samnyc
2 Replies

9. Shell Programming and Scripting

Want it to read the file name and then append date stamp at the end of file?

I was thinking something like for i in `find . -name "*.log.Z"`; do mv $i name.log.Z or something like that? (3 Replies)
Discussion started by: xgringo
3 Replies

10. UNIX for Beginners Questions & Answers

Sendmail - issue within DMZ for some servers but not all

Hi All, I have a strange issue and I am not sure where the problem lies. I have about six Ubuntu servers on our DMZ two of which were built on 18.04 from scratch the others were upgraded to 18.04 from 16.04. The servers built from scratch can send emails from the server via sendmail fine, so... (4 Replies)
Discussion started by: dakelly
4 Replies
Scheduler Implementation API(3) 			 globus scheduler event generator			   Scheduler Implementation API(3)

NAME
Scheduler Implementation API - Enumerations enum globus_scheduler_event_generator_error_t { GLOBUS_SEG_ERROR_TYPE_NULL = 1024, GLOBUS_SEG_ERROR_TYPE_ALREADY_SET, GLOBUS_SEG_ERROR_TYPE_INVALID_MODULE, GLOBUS_SEG_ERROR_TYPE_INVALID_FORMAT, GLOBUS_SEG_ERROR_TYPE_OUT_OF_MEMORY, GLOBUS_SEG_ERROR_TYPE_LOADING_MODULE } Functions globus_result_t globus_scheduler_event (const char *format,...) globus_result_t globus_scheduler_event_pending (time_t timestamp, const char *jobid) globus_result_t globus_scheduler_event_active (time_t timestamp, const char *jobid) globus_result_t globus_scheduler_event_failed (time_t timestamp, const char *jobid, int failure_code) globus_result_t globus_scheduler_event_done (time_t timestamp, const char *jobid, int exit_code) globus_result_t globus_scheduler_event_generator_get_timestamp (time_t *timestamp) Detailed Description Scheduler-specific SEG module implementations use this API to issue events to the Job State Monitor. Events occur whenever a job is placed in the scheduler's queue (PENDING), begins execution (ACTIVE), terminates successfully (DONE), or ends abnormally (FAILED). A SEG module should register an event with the Globus event driver (most likely using either the Globus Callback or Globus XIO interfaces) in its activation function and then return. All events should be triggered from callbacks. When the SEG detects that it should terminate, it will deactivate the SEG module it started. The SEG module should wait for any outstanding callbacks to subside and before returning from its deactivation function to ensure that all events will be properly dispatched. After deactivation is complete, the SEG will unload the shared module and terminate. Enumeration Type Documentation enum globus_scheduler_event_generator_error_t Error types used by the SEG. Enumerator: GLOBUS_SEG_ERROR_TYPE_NULL NULL Parameter. GLOBUS_SEG_ERROR_TYPE_ALREADY_SET Already called a one-time function. GLOBUS_SEG_ERROR_TYPE_INVALID_MODULE Shared module missing descriptor. GLOBUS_SEG_ERROR_TYPE_INVALID_FORMAT Invalid printf format for SEG protocol message. GLOBUS_SEG_ERROR_TYPE_OUT_OF_MEMORY Out of memory. GLOBUS_SEG_ERROR_TYPE_LOADING_MODULE Unable to load scheduler module. Function Documentation globus_result_t globus_scheduler_event (const char *format, ...) Send an arbitrary SEG notification. Parameters: format Printf-style format of the SEG notification message ... Varargs which will be interpreted as per format. Return values: GLOBUS_SUCCESS Scheduler message sent or queued. GLOBUS_SEG_ERROR_NULL Null format. GLOBUS_SEG_ERROR_INVALID_FORMAT Unable to determine length of formatted string. globus_result_t globus_scheduler_event_pending (time_ttimestamp, const char *jobid) Send a job pending event to the JobSchedulerMonitor implementation. Parameters: timestamp Timestamp to use for the event. If set to 0, the time which this function was called is used. jobid String indicating the scheduler-specific name of the job. Return values: GLOBUS_SUCCESS Scheduler message sent or queued. GLOBUS_SEG_ERROR_NULL Null jobid. GLOBUS_SEG_ERROR_INVALID_FORMAT Unable to determine length of formatted string. globus_result_t globus_scheduler_event_active (time_ttimestamp, const char *jobid) Send a job active event to the JobSchedulerMonitor implementation. Parameters: timestamp Timestamp to use for the event. If set to 0, the time which this function was called is used. jobid String indicating the scheduler-specific name of the job. Return values: GLOBUS_SUCCESS Scheduler message sent or queued. GLOBUS_SEG_ERROR_NULL Null jobid. GLOBUS_SEG_ERROR_INVALID_FORMAT Unable to determine length of formatted string. globus_result_t globus_scheduler_event_failed (time_ttimestamp, const char *jobid, intfailure_code) Send a job failed event to the JobSchedulerMonitor implementation. Parameters: timestamp Timestamp to use for the event. If set to 0, the time which this function was called is used. jobid String indicating the scheduler-specific name of the job. failure_code Failure code of the process if known. Return values: GLOBUS_SUCCESS Scheduler message sent or queued. GLOBUS_SEG_ERROR_NULL Null jobid. GLOBUS_SEG_ERROR_INVALID_FORMAT Unable to determine length of formatted string. globus_result_t globus_scheduler_event_done (time_ttimestamp, const char *jobid, intexit_code) Send a job done event to the JobSchedulerMonitor implementation. Parameters: timestamp Timestamp to use for the event. If set to 0, the time which this function was called is used. jobid String indicating the scheduler-specific name of the job. exit_code Exit code of the process if known. Return values: GLOBUS_SUCCESS Scheduler message sent or queued. GLOBUS_SEG_ERROR_NULL Null jobid. GLOBUS_SEG_ERROR_INVALID_FORMAT Unable to determine length of formatted string. globus_result_t globus_scheduler_event_generator_get_timestamp (time_t *timestamp) Get the timestamp for the earliest event an SEG module should send. Parameters: timestamp Pointer to a time_t which will be set to the timestamp passed to the SEG executable. The module should not send any events which occur prior to this timestamp. Return values: GLOBUS_SEG_ERROR_NULL Null timestamp. GLOBUS_SUCCESS Timestamp value updated. If the timestamp was not set on the SEG command-line, then the value pointed to by timestamp will be set to 0. Author Generated automatically by Doxygen for globus scheduler event generator from the source code. Version 4.6 Mon Apr 30 2012 Scheduler Implementation API(3)
All times are GMT -4. The time now is 12:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy