01-05-2006
calculate the time differnce between two given timings
I want to calculate the time differnce between two given timings but i don't know how .
Can you help me please ?
10 More Discussions You Might Find Interesting
1. AIX
Hi,
How do I calculate time? I need to create an alert if a process is running more than 30 minutes.
I need to get the first time and then get another, calculate it if more than 30 mins and then alert it to pager.
Can't find it in internet.
Thanks in advance,
itik (2 Replies)
Discussion started by: itik
2 Replies
2. Shell Programming and Scripting
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)
Discussion started by: Prat007
2 Replies
3. Shell Programming and Scripting
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)
Discussion started by: suri.tyson
2 Replies
4. UNIX for Dummies Questions & Answers
hello
i want to display the time firstly when i run my shell script and after 25 min i want to display a message it says that the time left is 5 min. When the calculated time is 30 mins, the script should exit.
can any one help me with that!
Thanks in advance
Regards
:o (5 Replies)
Discussion started by: dndoon
5 Replies
5. Shell Programming and Scripting
Hi there,
How to calculate the elapsed time in minutes for a particular job run under unix.
I tried the following
$ ps -efo user,pid,etime,comm,args | grep myscript | grep -v grep | awk -F" " '{print $3}'
OUTPUT:
01:02:49
I need to get this output in minutes.
Can someone help me... (1 Reply)
Discussion started by: karthickrn
1 Replies
6. Shell Programming and Scripting
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)
Discussion started by: smarty86
16 Replies
7. Shell Programming and Scripting
Hello,
I'm trying to create a shell script (#!/bin/sh) which should tell me the age of a file in minutes...
I have a process, which delivers me all 15 minutes a new file and I want to have a monitoring script, which sends me an email, if the present file is older than 20 minutes.
To do... (10 Replies)
Discussion started by: worm
10 Replies
8. Shell Programming and Scripting
Hi
i have a file which consists of the time records in following format
H:MM:SS.sss
0:00:09.249
0:00:00.102
0:00:00.105
0:00:08.499
0:00:08.499
0:00:06.980
0:00:04.249
0:00:05.749
0:00:00.108
0:00:00.107
0:00:03.014
0:00:00.000
I need to calculate their equivalent milliseconds... (3 Replies)
Discussion started by: vaibhavkorde
3 Replies
9. Shell Programming and Scripting
Hello Guys,
I am trying to calculate total hours and minutes a given user has used the system since the beginning of the current month.
#!/usr/bin/sh
hr=0
min=0
last $1 | grep -w `date "+%b"` | grep -v '\(0:.*\)' | grep -vw sshd | cut -c 66-
| tr -d "\(\)" | cut -f1 -d ":" | grep -v '.*' |... (9 Replies)
Discussion started by: kasparov
9 Replies
10. Shell Programming and Scripting
Hi All,
I have one file which contains time for request and response.
I want to calculate time difference in milliseconds for each line.
This file can contain 10K lines.
Sample file with 4 lines.
for first line.
Request Time: 15:23:45,255
Response Time: 15:23:45,258
Time diff... (6 Replies)
Discussion started by: Raza Ali
6 Replies
I740(4) Kernel Interfaces Manual I740(4)
NAME
i740 - Intel i740 video driver
SYNOPSIS
Section "Device"
Identifier "devname"
Driver "i740"
...
EndSection
DESCRIPTION
i740 is an Xorg driver for Intel i740 video cards.
SUPPORTED HARDWARE
The i740 driver supports Intel 740 based cards. A list of cards reported to work is provided in the README file with the driver source.
CONFIGURATION DETAILS
Please refer to xorg.conf(5) for general configuration details. This section only covers configuration details specific to this driver.
The driver auto-detects all device information necessary to initialize the card.
However, if you have problems with auto-detection, you can specify:
VideoRam - in kilobytes
DacSpeed - in MHz
MemBase - physical address of the linear framebuffer
IOBase - physical address of the memory mapped IO registers
The following driver options are supported on all chipsets:
Option "NoAccel" "boolean"
Disable or enable 2D acceleration. Default: acceleration is enabled.
Option "SWCursor" "boolean"
Request a software cursor (hardware is default). Default: off
Option "SDRAM" "boolean"
Force the use of SDRAM timings. Default: off
Option "SGRAM" "boolean"
Force the use of SGRAM timings. Default: off
Option "SlowRam" "boolean"
Force the use of slower ram timings. Default: off
Option "Dac6Bit" "boolean"
Force the use of a 6 Bit Dac (8 Bit is the default). Default: off
Option "UsePIO" "boolean"
Force the use of programmed IO (Memory mapped is the default). Default: off
Note: the i740 X server should automatically detect whether your card has SGRAM or SDRAM. Use the "sgram" and "sdram" options if it is
incorrectly detected.
SEE ALSO
Xorg(1), xorg.conf(5), Xserver(1), X(7)
AUTHORS
Authors include: Kevin E Martin and Daryll Strauss of Precision Insight, Inc.
The XFree86 version of this driver was donated to The XFree86 Project by Precision Insight, Inc., Cedar Park, TX, USA
The Xorg version of this driver originally came from XFree86 4.4rc2.
X Version 11 xf86-video-i740 1.3.2 I740(4)