Hi,
Please help me in calculating the time difference between below mentioned timestamps.
a=07/17/2007 02:20:00 AM MST
b=07/17/2007 02:07:46 AM MST
Thanks (2 Replies)
Hi All,
I've written a script which reads all the systems backup information and saves it in a log file.
ssh -l ora${sid} ${primaryhost} "tail -2 /oracle/$ORACLE_SID/sapbackup/back$ORACLE_SID.log" |head -1 | awk '{print echo "PREVIOUS:-- Start Date&Time: " $3,$4,echo "|| End Date&Time:... (1 Reply)
Hi All,
I've written a script which reads all the systems backup information and saves it in a log file.
ssh -l ora${sid} ${primaryhost} "tail -1 /oracle/$ORACLE_SID/sapbackup/back$ORACLE_SID.log" | awk '{print $3,$4,$5,$6}' >> ${RESULTFILE}
The output comes as below:
2008-09-30 06.00.01... (2 Replies)
I m stuck with a issue.
I need to calculate the time difference between two files.. one on the local machine and one on the remote machine using a script.
Can any one suggest the way this can be achevied
Thanks,
manohar (1 Reply)
I know there have been a million questions regarding calculating time stamps, and with enough googling, I think I'm almost there (I'm going to use the changing the times into seconds and subtracting solution). My problem is that I'm not sure how to format my log file to get the info I need. Below... (0 Replies)
Hello All,
I have a problem calculating the time difference between start and end timings...!
the timings are given by 24hr format..
Start Date : 08/05/10 12:55
End Date : 08/09/10 06:50
above values are in mm/dd/yy hh:mm format.
Now the thing is, 7th(08/07/10) and... (16 Replies)
hi,
I have a log file which gives time stamps hh:mm:ss.sssss format in which
hh- hours , mm -minutes ss.sssss - seconds.microseconds
I need to calculate the time diff between sent time stamp and received time stamp ....
could any one please help me..
i am tryin to write a script but... (2 Replies)
Hi All,
I am new to shell scripting.I have to write a shell script for the problem statement:
"A file is updated continously. If it is not updated for a day then an error message needs to pop up."
So the script needs to read the last modified time of that file and current system time .If... (4 Replies)
I have time in a file in HH:MM:SS format as it contents(its not the file creation time). i need this to be converted to epoch time or time since 1970. The time is written into that file by a script, which i cannot modify. Im using AIX machine
$ cat abc.txt
10:29:34 (2 Replies)
i grepped the time stamp in a file as given below
now i need to calculate time difference
file data:
18:29:10
22:15:50 (5 Replies)
Discussion started by: vivekn
5 Replies
LEARN ABOUT NETBSD
leave
LEAVE(1) BSD General Commands Manual LEAVE(1)NAME
leave -- remind you when you have to leave
SYNOPSIS
leave [[+]hhmm]
DESCRIPTION
leave waits until the specified time (within the next 12 hours), then reminds you that you have to leave by writing to the TTY that you exe-
cuted leave on.
You are reminded 5 minutes and 1 minute before the actual time, at the time, and every minute thereafter. When you log off, leave exits just
before it would have printed the next message.
OPTIONS
hhmm The time of day is in the form hhmm where hh is a time in hours (on a 12 or 24 hour clock), and mm are minutes.
However, all times are converted to a 12 hour clock, and assumed to be in the next 12 hours. An attempt to set an alarm for farther
into the future will be truncated to within the next 12 hours.
+ If the time is preceded by '+', the alarm will go off in hours and minutes from the current time.
If no argument is given, leave prompts with "When do you have to leave?". A reply of newline causes leave to exit, otherwise the reply is
assumed to be a time. This form is suitable for inclusion in a ~/.login or ~/.profile.
SEE ALSO calendar(1), csh(1), sh(1)HISTORY
The leave command appeared in 3.0BSD.
BUGS
In the modern age with X(7) and window multiplexing programs like window(1) and screen(1), the leave command's reminders and admonitions
might not be seen if the user has the window where leave was started minimized or obscured.
This all begs for a more general user notifications system to be implemented.
BSD January 19, 2002 BSD