![]() |
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 |
| calculate the time | dndoon | UNIX for Dummies Questions & Answers | 5 | 01-09-2009 05:12 PM |
| Calculate Elapsed Time | sysera | Shell Programming and Scripting | 5 | 06-17-2004 01:10 AM |
| Working out end time from start + elapsed | rik1551 | UNIX for Dummies Questions & Answers | 4 | 06-06-2002 04:05 PM |
| Adding Elapsed time | jrdnoland1 | Shell Programming and Scripting | 1 | 02-24-2002 10:59 AM |
| Displaying elapsed time... | jj1814 | High Level Programming | 5 | 02-20-2002 02:38 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Need to calculate elapsed time
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 in this regard. Cheers, RN Karthick |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|