Sponsored Content
Full Discussion: last execution time
Top Forums UNIX for Dummies Questions & Answers last execution time Post 96231 by cubs0729 on Wednesday 18th of January 2006 05:40:04 PM
Old 01-18-2006
last execution time

is there a command in Solaris 8 that will show a particular scripts last execution time?
 

10 More Discussions You Might Find Interesting

1. Programming

execution time

hi , i ve coded a C program in that im using malloc dynamically , it is being called many times in the program The program is to simulate jobs in manufacturing system. the execution time is increasing drastically as the number of jobs are increased. could any body tel what may be the problem... (2 Replies)
Discussion started by: ramki_rk
2 Replies

2. UNIX for Advanced & Expert Users

specifying an execution time

Hi all, do ny o u'll know how to set a particular execution time for a program??? for eg.: --> during the execution of a file, i call a certain other function. --> while calling this function, my comp hangs. now is there ny way in which i can go to the nxt line of code by aborting the call... (7 Replies)
Discussion started by: VGR
7 Replies

3. Shell Programming and Scripting

Estimated execution time

Hi All, One of my script runs (approximately) for 20 to 40 hours Is there any way in unix to find the estimated time required for a shell script(Cron job).ie to find the time required for execution even before the script is executed. Any discussion(pointers) regarding the same is most welcome. (4 Replies)
Discussion started by: Sreejith_VK
4 Replies

4. Shell Programming and Scripting

To reduce execution time

Hi All, The below script I run daily and it consumes 2 hours approx. In this I am calling another script and executing the same twice. Is the loop below the cause for the slow process?Is it possible to finetune the program so that it runs in a much faster way? The first script: #!/bin/ksh... (4 Replies)
Discussion started by: Sreejith_VK
4 Replies

5. Shell Programming and Scripting

command execution time

Hi all, I want to display a progressbar depending upon the completion status of a command. I am coding from scratch as I dont want to use in place code. so Is there anyway of getting the progress of a command in percentage or in any other units while its running , is it possible using the top... (5 Replies)
Discussion started by: hashin_p
5 Replies

6. Shell Programming and Scripting

How the time of execution could be checked?

I need to see how much time my script uses to execute different part of processing. Is there anything to get it? I see the shell biultin variable $SECONDS, but I need much more precise statistic, in mili or micro seconds. Is there anything available for that? I use bash shell. ... (4 Replies)
Discussion started by: alex_5161
4 Replies

7. Shell Programming and Scripting

get execution time of a script

Hi, I have a simple question. How can I get the execution time of a script and maybe put it in a variable? Another question. How can I get only time and not date and put it in a variable? I tried something with "date" command but with no success... If someone could help me... (8 Replies)
Discussion started by: Moumou
8 Replies

8. Shell Programming and Scripting

KSH - Execution Time

Hello, I am on solaris 9 (KSH). I need to get the execution time of my script. I can't use the time command as I have to send by mail the result in a human readable way. So I am looking for a code to add to my script. The output result would be : Execution time :... (1 Reply)
Discussion started by: Aswex
1 Replies

9. UNIX for Dummies Questions & Answers

time taken for execution

how much time a particular command or shell script executed there is any command to know this thanks (5 Replies)
Discussion started by: tsurendra
5 Replies

10. Shell Programming and Scripting

To take script execution time

Hello Guys, I would like to know is there a way to take the script execution time For e.g i am having a script.sh i need to write inside he script.sh like Start time : 10-Mar-2016 02:30:35 all code over here ... End time : 10-Mar-2016 03:30:32 Script start time - 02:30:35 ... (7 Replies)
Discussion started by: Master_Mind
7 Replies
One-time execution(3)						   globus common					     One-time execution(3)

NAME
One-time execution - Data Structures union globus_thread_once_t Thread once structure. Macros #define GLOBUS_THREAD_ONCE_INIT { .none = 0 } Functions int globus_thread_once (globus_thread_once_t *once, void(*init_routine)(void)) Detailed Description The globus_thread_once_t provides a way for applications and libraries to execute some code exactly one time, independent of the number of threads which attempt to execute it. To use this, statically initialize a globus_thread_once_t control with the value GLOBUS_THREAD_ONCE_INIT, and pass a pointer to a function to execute once, along with the control, to globus_thread_once(). Macro Definition Documentation #define GLOBUS_THREAD_ONCE_INIT { .none = 0 } Thread once initializer value. Function Documentation int globus_thread_once (globus_thread_once_t *once, void(*)(void)init_routine) Execute a function one time. .PP The globus_thread_once() function will execute the function pointed to by its @a init_routine parameter one time for each unique globus_thread_once_t object passed to it, independent of the number of threads calling it. The @a once value must be a static value initialized to GLOBUS_THREAD_ONCE_INIT. Parameters: once A pointer to the value used to govern whether the function passed via the init_routine parameter has executed. init_routine Function to execute one time. It is called with no parameters. Returns: On success, globus_thread_once() guarantees that the function pointed to by init_routine has run, and that subsequent calls to globus_thread_once() with the same value of once will not execute that function, and returns GLOBUS_SUCCESS. If an error occurs, globus_thread_once() returns an implementation-specific non-zero error value. Author Generated automatically by Doxygen for globus common from the source code. Version 14.7 Tue Nov 27 2012 One-time execution(3)
All times are GMT -4. The time now is 03:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy