Shell script to find the run time based on log entries?
Shell script to find the run time based on log entries?
Below is the log files content updated when the script test.sh runs. I would like to calculte the difference between first update time stamp and last update time stamp to find the run time of the script. The below log file shows the first update as 16:50 and last update 17:42.
Is there any way to find the run time with the difference between first update line and last update line.
Last edited by Scott; 10-30-2010 at 08:38 PM..
Reason: Code tags
Hi,
Whats the command for finding files older then 20mins. This has to be part of the find command as it will be part of a cleanup script.
thanks
Budrito (4 Replies)
Hi everyone,
Please help:)
I have a list of 1000 different files which comes daily to the directory.Some of
the files are not coming to the directory now.
I need to write a shell script to find the latest date and time of the files they
came to the directory. The files should be unique.... (1 Reply)
I have just written a Csh script and i want to find out how long does the script take to complete executing. Is there any codes which i can put into my script to capture its run time ? (9 Replies)
Hi all,
I am a newbie.....am jus trying to connect to oracle thro a script, but not thro giving the username/password@server_name directly like
`$ORACLE_HOME/bin/sqlplus username/password@server_name
In the above line, once it is connected to Oracle, it shud ask me the username and password... (4 Replies)
HI,
I have to write a unix script and need your help.
in my application where I have to invoke this script a varialble is there where the value comes in a variable . for example variable can be var=ABC
like this there will be any type of value in the vcariable.
there is a unix directory... (2 Replies)
hi,
how can i pass a password automatically when a shell script is running.
i have shell script(runscript.sh) which call another shell script inside it as a different user.
runscript.sh contains
su - nemo -c "/bin/main_script.sh"
but when i execute "runscript.sh" it try to run... (7 Replies)
We have 15 servers. Hostnames for these 15 servers are stored in a text files and loop through each server to connect to the remote server and run a command, but this loop process runs the command one after another. However, the requirement is to run the same command on all 15 servers at the same... (10 Replies)
I have bash shell script which is internally calling python script.I would like to know how long python is taking to execute.I am not allowed to do changes in python script.Please note i need to know execution time of python script which is getting executed inside shell .I need to store execution... (2 Replies)
Hi Team,
I have a to run a script based on a date present in a different file which updates everyday. Kindly help with the solution.
My current execution : ksh scriptname.sh 10152019. But here i want to enter this date from a file which gets updated daily.
My appraoch :
date file location:... (3 Replies)
Discussion started by: midhun3108
3 Replies
LEARN ABOUT SUSE
pdl::gslsf::fermi_dirac
FERMI_DIRAC(3) User Contributed Perl Documentation FERMI_DIRAC(3)NAME
PDL::GSLSF::FERMI_DIRAC - PDL interface to GSL Special Functions
DESCRIPTION
This is an interface to the Special Function package present in the GNU Scientific Library. Please note that:
Complete Fermi-Dirac Integrals:
F_j(x) := 1/Gamma[j+1] Integral[ t^j /(Exp[t-x] + 1), {t,0,Infinity}]
Incomplete Fermi-Dirac Integrals:
F_j(x,b) := 1/Gamma[j+1] Integral[ t^j /(Exp[t-x] + 1), {t,b,Infinity}]
SYNOPSIS FunctionsFUNCTIONS
gsl_sf_fermi_dirac_int
Signature: (double x(); double [o]y(); double [o]e(); int j)
Complete integral F_j(x) for integer j
gsl_sf_fermi_dirac_int does not process bad values. It will set the bad-value flag of all output piddles if the flag is set for any of the
input piddles.
gsl_sf_fermi_dirac_mhalf
Signature: (double x(); double [o]y(); double [o]e())
Complete integral F_{-1/2}(x)
gsl_sf_fermi_dirac_mhalf does not process bad values. It will set the bad-value flag of all output piddles if the flag is set for any of
the input piddles.
gsl_sf_fermi_dirac_half
Signature: (double x(); double [o]y(); double [o]e())
Complete integral F_{1/2}(x)
gsl_sf_fermi_dirac_half does not process bad values. It will set the bad-value flag of all output piddles if the flag is set for any of
the input piddles.
gsl_sf_fermi_dirac_3half
Signature: (double x(); double [o]y(); double [o]e())
Complete integral F_{3/2}(x)
gsl_sf_fermi_dirac_3half does not process bad values. It will set the bad-value flag of all output piddles if the flag is set for any of
the input piddles.
gsl_sf_fermi_dirac_inc_0
Signature: (double x(); double [o]y(); double [o]e(); double b)
Incomplete integral F_0(x,b) = ln(1 + e^(b-x)) - (b-x)
gsl_sf_fermi_dirac_inc_0 does not process bad values. It will set the bad-value flag of all output piddles if the flag is set for any of
the input piddles.
AUTHOR
This file copyright (C) 1999 Christian Pellegrin <chri@infis.univ.trieste.it> All rights reserved. There is no warranty. You are allowed to
redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this
file is separated from the PDL distribution, the copyright notice should be included in the file.
The GSL SF modules were written by G. Jungman.
perl v5.12.1 2010-07-05 FERMI_DIRAC(3)