10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to get one hour before time is yyyymmddhh format.
ex. date +"%Y%m%d%H" gives 2017052814 but I need 2017052813
Please use CODE tags as required by forum rules! (6 Replies)
Discussion started by: nalakaatslt
2. Shell Programming and Scripting
I"m trying to calculate the duration of of backup within a ksh shell script but I get an error.
echo "DURATION OF BACKUP: $((EDTIM - STTIM))" (5 Replies)
Discussion started by: Bperl1967
3. Shell Programming and Scripting
I had been to many forums and many topics in this site as well for my question but did not get any solution.
My question is how i can get y'day date with time stamp
today is 20100729103819 and i am looking for output as 20100728103819.
in simple words as we do in oracle sysdate-1... (4 Replies)
Discussion started by: lokaish23
4. Shell Programming and Scripting
I've gone through bunch of threads on time calculations but none of them helps on my problem
I've to get the time difference in HHMM format from following inputs
Input 1 :
Input 2 :
First input is easy but... (8 Replies)
Discussion started by: prash184u
5. Shell Programming and Scripting
I'm relatively new to scripting,I am working on a monitoring script.....where in i have to write subroutine
which does the follows:
It will check the time stamp of a file ( Oracle remarchive files) and compare it with existing time.If the time difference happen to be more than 90... (6 Replies)
Discussion started by: maverick_here
6. UNIX for Dummies Questions & Answers
I have a file with over 100,000 lines of data with looking to compare times of about 2000 lines to get a total time of a process. The lines of unique data are as follows.
FINER: CacSoapServer:reserveNetworkResource got the sessionID
INFO: Created CAC session ID
The command... (5 Replies)
Discussion started by: bpfoster76
7. Shell Programming and Scripting
I am currently in the process of writing a script which will take a filename in the format
where the sixth string(with "." as the seperator) is the time stamp of the time of creation of the file.
now here is my issue .
I need to be... (2 Replies)
Discussion started by: Segwar
8. UNIX for Dummies Questions & Answers
I've been trying all night to come up with a script that will take a file that contains job completion times like this as input:
and figure the Average completion time. I've tried several things, and I just can't seem to get it to figure correctly. I'm... (5 Replies)
Discussion started by: Seawall
9. Shell Programming and Scripting
I am writting a script in the ksh shell and am trying to find a way to report the total execution time of the script without requiring the user to specify the time function when executing the script.
Does anyone have any examples they have used. I have been setting up two date variables (one at... (9 Replies)
Discussion started by: johnsonbryce
10. UNIX for Advanced & Expert Users
I have start time as a string like 06:04:01 and end time like 06:05:01
i need do a simple math to get the duration. What is the best way
to do this in Korn Shell scripting? Thanks (2 Replies)
Discussion started by: liux99