Sponsored Content
Full Discussion: Timing the shell script
Top Forums Shell Programming and Scripting Timing the shell script Post 302809509 by luhah on Monday 20th of May 2013 03:21:55 AM
Old 05-20-2013
Although, p1 finishes late by 2 seconds, I assume that it does not strain the cpu and is mostly in sleep mode. In that case, I shall go with P1 script.

Thanks much.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

HTML display timing problem under ksh script

Using a HTML page , i'm running a Unix ksh script with <a href=..>. The script contains loop like this : for i in do rsh..... done each rsh command is running quite long and then i would display results in HTML format but about 5mn my blank page waiting for result is running in error... (1 Reply)
Discussion started by: Nicol
1 Replies

2. UNIX for Dummies Questions & Answers

bourne shell timing question

In one of my scripts I do the following sort +0 x > y mv y x In my script x and y are fully qualified. This works 99% of the time. However once in a while the system comes back and says that is cannot access y in the mv command. I did some research and I suspect that if I insert a... (7 Replies)
Discussion started by: gillbates
7 Replies

3. UNIX for Advanced & Expert Users

scp timing out

having problems using scp in that during peak hours it appears to time out. anyone have similar experiences? any thoughts regarding a solution... (1 Reply)
Discussion started by: jph
1 Replies

4. Shell Programming and Scripting

Timing out a SSH

I need to make it so an autmated process which involves ssh, times out if ssh prompts for a password. Most of the time it shouldnt prompt for a password. But if it does i need it to time it out or get a status and stop the ssh and log that the ssh failed and move onto the next server. Is there any... (9 Replies)
Discussion started by: rcunn87
9 Replies

5. Programming

timing your functions

hi everyone. If you have a function created in your code and you want to find out how long it takes for it to run you can use a struct called gettimeofday(). so lets say we have a function like this int myfunction (int r) { /*some math calculations*/ return answer; } How do i set up... (3 Replies)
Discussion started by: bebop1111116
3 Replies

6. Programming

Help with __builtin_prefetch function and it's timing

Hello there, I just needed to know how to get the timing right when using the gcc __builtin_prefetch() function, that is, how many instructions before the actual utilization of the data should I make the prefetch call. I will be measuring the L1 cache hit rate with valgrind's cachegrind,... (3 Replies)
Discussion started by: Tavo
3 Replies

7. Shell Programming and Scripting

Timing out lynx request in a bash script

I have a Bash script where, in a loop, I access several urls. Sometimes, if an url is not available, lynx hangs, and the script does not continue. How can I time out the lynx request when it takes more than, 10 Seconds, but continue with the other jobs... For some reason lynx does not care... (1 Reply)
Discussion started by: lowmaster
1 Replies

8. Shell Programming and Scripting

Challenging task : script for mailing process completion timing report to users.

Hi all, This is my first post. I am new to unix scripting. My requirement is as follows : We are using a financial backoffice application. Now at the end of day we have send users a status report stating all timings of EOD processes for all countries. I need timings for following... (0 Replies)
Discussion started by: ammbhhar
0 Replies

9. Shell Programming and Scripting

Timing a script

i have a very big script i have that i'd like to add a timeout to. this script runs on a several remote host. i update this script with timeout clause and then copy it over to all the hosts on which it is currently on. basically, i want the timeout to make the script abort/exit if it's... (1 Reply)
Discussion started by: SkySmart
1 Replies

10. Red Hat

Hardware and system timing are different

-> We have 2 servers server1 and server2 server. ->server1 is master application and server2 is slave application server. ->output of server1 hardware and slave timing: # hwclock --show Thu 05 Jun 2014 05:34:08 PM SGT -0.465666 seconds # date Thu Jun 5 17:34:16 SGT 2014 # cd... (6 Replies)
Discussion started by: manjusharma128
6 Replies
GPIV_VORSTRA(1) 					      General Commands Manual						   GPIV_VORSTRA(1)

NAME
gpiv_vorstra - Calculates the differential quantities vorticity, shear strain and normal strain from PIV data. SYNOPSIS
gpiv_vorstra [-d N] [-h | --help] [-n | -o | -s] [--no_g ] [-p | --print] [-g | --g] [-v | --version] [filename] < stdin > stdout DESCRIPTION
gpiv_vorstra calculates the differential quantities like vorticity, shear strain and normal strain from PIV data. You can choose from sev- eral differential schemes: central differentiation, least squares, Richardson extrapolation and circulation method. Circulation method only allows one to calculate vorticity, but no strain. The output can be generated as ASCII data containing four columns or as GNUPlot Data for- mat that allows one to view/print the data as contour plots. The configuration parameters (containing the POST key) may be overruled by the command line options, as explained below. Options -d N Differential type to be used: central difference (N=0), least squares (N=1), Richardson interpolation (N=2), circulation method (N=3) -h | --help On-line help -n Calculate normal strain of the PIV data. As an alternative the program may be called by its nickname gpiv_nstrain. In combination with filename the output will be written to filename.nstr. -o Calculate vorticity of the PIV data. As an alternative the program may be called by its nickname gpiv_vorty. In combination with filename the output will be written to filename.vor. -p | --print Print parameters, command line options and eventually used input and output filenames to stdout. The output is identic of file- name.par, in case filename is used. -s Calculate shear strain of the PIV data. As an alternative the program may be called by its nickname sstrain. In combination with filename the output will be written to filename.sstr. -g Show contour plot of the output with gnuplot. --no_g Suppresses to show contour plot of the output with gnuplot. -v | --version Print version information on standard output, then exit successfully. filename Input PIV data file. Overrides stdin and stdout. The output will be written to filename.vor with -o, filename.nstr with -n or file- name.sstr with -s. Parameters are stored in filename.par and may be used for future use by including them in ./gpivrc. SEE ALSO
gpivtools AUTHOR
Gerber Van der Graaf 8 November 2006 GPIV_VORSTRA(1)
All times are GMT -4. The time now is 01:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy