![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| adding or subtracting days in the o/p of date | St.Fartatric | UNIX for Dummies Questions & Answers | 1 | 05-19-2008 08:10 AM |
| Sort files by Date-timestamps available in filename & pick the sortedfiles one by one | Chindhu | Shell Programming and Scripting | 4 | 08-10-2007 08:54 AM |
| subtracting a days from current date | rameshspal | Shell Programming and Scripting | 1 | 03-10-2006 01:18 AM |
| Subtracting Two months from date | jwatson12 | UNIX for Dummies Questions & Answers | 3 | 09-13-2002 02:06 PM |
| Subtracting Variables which are commands | Astudent | UNIX for Dummies Questions & Answers | 2 | 03-30-2001 10:55 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Subtracting date / timestamps
I have looked through the forums and found many date / time manipulation tools, but cannot seem to find something that fits my needs for the following.
I have a log file with date time stamps like this: Jun 21 17:21:52 Jun 21 17:24:56 Jun 21 17:27:59 Jun 21 17:31:03 Jun 21 17:34:07 Jun 21 17:37:10 Jun 21 17:40:14 Jun 21 17:43:18 I need something that "subtracts" the time from the previous entry and displays the "minutes:seconds" difference. These should all be around 3 minutes apart, and I am looking for descrepencies. Any hints on how to do this would be greatly appreciated. Thanks.,.. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|