![]() |
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 |
| How To Calculate | krishna_sicsr | Shell Programming and Scripting | 3 | 03-21-2009 01:49 PM |
| calculate average of multiple line data | smacherla | HP-UX | 4 | 05-23-2008 04:39 PM |
| calculate the space | za_7565 | Shell Programming and Scripting | 8 | 05-04-2008 07:22 AM |
| calculate from three files | koti_rama | Shell Programming and Scripting | 5 | 01-08-2008 09:27 AM |
| How to calculate with awk | whatisthis | Shell Programming and Scripting | 4 | 11-09-2005 12:39 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi All,
I want to calculate the total timing used by total users. Here "OUT" is showing that when an user logged in and "IN" timing is showing at what time user is logged out. If the corresponding IN-OUT is not matching then it consider the time from the mid-night of last day. Then Total timing of the Individual users I have to calculate. In the following data. 17:07:00 IN MAESTRO_MAIN dinda@abc 17:09:22 IN MAESTRO_MAIN dinda@abc 17:19:06 OUT MAESTRO_MAIN dinda@abc 17:21:07 IN JAGUAR_MAIN dinda@abc 17:25:44 IN MAESTRO_MAIN dinda@abc 11:39:01 OUT MAESTRO_MAIN secshard@ganga 11:40:11 IN MAESTRO_MAIN secshard@ganga 11:40:22 OUT MAESTRO_MAIN secshard@ganga 11:54:48 IN MAESTRO_MAIN secshard@ganga 11:57:27 OUT MMOD_XCLUSTER secshard@ganga 11:58:04 IN MMOD_XCLUSTER secshard@ganga 14:43:54 IN MAESTRO_MAIN rakesh@abc 14:55:32 IN JAGUAR_MAIN rakesh@abc 14:58:56 IN MAESTRO_MAIN rakesh@abc 15:06:58 IN JAGUAR_MAIN rakesh@abc 19:01:21 OUT MAESTRO_MAIN rakesh@abc 19:24:07 IN MAESTRO_MAIN rakesh@abc 19:24:20 OUT MAESTRO_MAIN rakesh@abc |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|