[Info-vax] DCL Time Manipulation

Jan-Erik Soderholm jan-erik.soderholm at telia.com
Wed Aug 17 17:37:32 EDT 2011


Jan-Erik Soderholm wrote 2011-08-17 22:33:
> Stafford Winters wrote 2011-08-17 21:07:
>> On 8/17/2011 10:41 AM, James J. O`Shea wrote:
>>> I'm trying to get the amount of time a user is logged in monthy, using
>>> ACCOUNTNG. How can I get the sum of times in DCL?
>
> What about :
>
> $ account/since=1-aug-2011/typ=process/summary=user/report=elapsed
>
> Username Elapsed
> Time
> ------------------------------
> <user xxx> 0 00:10:00.27
> <user yyy> 0 00:01:06.38
> <user zzz> 5 07:38:23.79
> ...
> ...
> $
>
>

Or maybe, to limit to interactive sessions and get a sum for each month :

$ account /since=1-jan-2011 -
           /type=proc -
           /summary=(user,month) -
           /report=elapsed -
           /proc=inter




More information about the Info-vax mailing list